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

Inconsistency in result returned by eZContentObjectTreeNode::fetch()

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.2.0, 4.3.0, 4.4.0, 4.5.0alpha
    • Misc
    • None

    Description

      eZContentObjectTreeNode::fetch() takes a single nodeID or an array of nodeIDs as parameter. But when an array is passed with only one entry in it, the method will not return an array, but a single eZContentObjectTreeNode instance.

      This is inconsistent. If an array is passed, it should return an array as well (even empty)

      Attachments

        Activity

          People

            unknown unknown
            jv@ez.no jv@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: