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

eZFlow: "Push to block" view not working correctly when AllowedClasses settings is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 4.4.0, extension/ezflow 2.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: Debian
      PHP Version: (please be specific, like '4.4.3' or '5.1.5'): 5.3.2
      Database and version:
      Browser (and version):

      Description

      There seems to be a bug in administration interface when using "Push to block" module view, and AllowedClasses setting is defined for a block in block.ini.

      One of post parameters being sent in AJAX call when specific zone in second drop down ("Select zone") is selected is "node_id", which is mapped to previously selected frontpage node id.

      But then in modules/ezflow/get.php , in line 83 class identifier of this node is expected to be in the AllowedClasses array. This seems wrong, as objects being pushed to block should be evaluated to be of filtered class, not the frontpage object itself.

      Steps to reproduce

      Define AllowedClasses settings to a manual block in block.ini.

      Try to use "Push to block" feature (on a object of a class defined in AllowedClasses settings) in administration interface. This should fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gg Gaetano Giunta
              Reporter:
              igor123 Igor Vrdoljak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: