Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-12465

PHP Warning: Undefined index: Limitation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.1, 3.9.5, 4.0.1, 4.1.0alpha1
    • 3.10.0, 3.9.4, 4.0.0
    • Misc
    • None

    Description

      Warning: (PHP)
      Undefined index:  Limitation in kernel/classes/ezcontentobjecttreenode.php on line 2307
      

      This warning occurs for example when calling eZContentObjectTreeNode::subTreeCount(ByNodeID) from a CLI script.

      No warning will occur on eZ 3.9 / 3.10 because a reference is used there, but the wrong variable is used anyway and results will probably be wrong, so needs fix on those branches as well.

      Actually, subTreeCount(ByNodeID) should use the function getLimitationList just like subTree does.

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: