Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
4.1.0
-
None
Description
looks like from 4.1 it is mandatory to have 'functions' element in view definition if module has any defined functions.
Example:
This module will not work untill you define functions element for the view.
$Module = array( 'name' => 'Multievent' ); $ViewList = array(); $ViewList['newcalendarevents'] = array( 'script' => 'newcalendarevents.php', 'functions' => array( 'newcalendarevents' ), 'params' => array() ); $FunctionList = array(); $FunctionList['newcalendarevents'] = array();
This was not like this in previous versions of ezpublish, and behavour was that you had to have module/* policy in your role to have access to such view, but now admin with //* does not have access to such views.