Details
-
Bug
-
Resolution: Duplicate
-
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.