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

class attribute cache in GLOBALS does not work correctly

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 3.8.8, 3.9.2
    • Caching
    • None

    Description

      The $GLOBALS['eZContentClassAttributeCache'] array is filled by the several fetch functions. Independed if $asObject is set or not. So it might contain arrays.
      But if it will be only used if asObject is set to true.
      So if an attribute is in it as array the following code will fail, because it is awaiting an object.

      Attached the fix.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: