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

Content edit handlers - default implementation of storeActionList()

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.4, 4.2.0alpha1
    • 4.1.3
    • Misc
    • None

    Description

      The default implementation of the storeActionList function of the eZContentObjectEditHandler class doesn't do anything. It would be better if it returns an empty array. Otherwise you get this PHP warning when you don't implement the function in a specific handler:

      Invalid argument supplied for foreach() in /srv/ezpublish/sites/eztrunk/kernel/classes/ezcontentobjectedithandler.php on line 92
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: