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

$Module->ViewParameters contains a key 'Limitation' coming from the policy system

    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

      This bug is caused by the fix for http://issues.ez.no/10819. In index.php, the variable $params which contains the url parts (set inside fetchModule() function) is passed by reference to eZUser::hasAccessToView(). Inside this method, the keys "Limitation" and "accessList" are set in $params. "accessList" is unset again in index.php, but not "Limitation". However, $params shouldn't have been passed to eZUser::hasAccessToView() in the first place, because the URL parts have nothing to do with what happens inside this method at all.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: