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

BC break: extensions with views with 'functions' => array() do not longer work

    XMLWordPrintable

Details

    Description

      Try http://pubsvn.ez.no/community/trunk/extension/developer on latest 3.9.

      Accessing developer/treefetchbuilder with admin user account, gives Kernel error 1:

      The requested page could not be displayed. (1)
      
      The system is unable to display the requested page because of security issues.
      
      Possible reasons:
      
          * Your account does not have the proper privileges to access the requested page.
          * The requested page does not exist. Try changing the URL.
      

      I suspect this has something to do with security issues fixed in http://ez.no/developer/news/ez_publish_security_fixes_3_9_3_and_3_8_9, but the developer module does not define or use any policy functions so shouldn't be affected by the fix. An empty array in functions key of a view's definition should be seen as 'no functions' for BC.

      After removing the lines

       'functions' => array( ),
      

      from module.php, it works again as supposed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: