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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 4.4.0, extension/ezflow 2.2
    • None
    • 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

        Activity

          People

            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            igor123 igor123
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: