Make your extension compatible with eZ Publish 4.1

Introduced in eZ Publish 4.1 is a performance enhancement (http://issues.ez.no/14273) which loads modules more intelligently.

All available modules must now be registered through module.ini and [ModuleSettings].ModuleList array.

If your extension uses custom modules and you receive an an error similar to this:

Error: error/view.php
Mar 27 2009 09:29:46
Error ocurred using URI: /www_admin/survey/list
Warning: Insufficient permissions
Mar 27 2009 09:29:46
Function required:
Module : survey
Function : administration
ClassID : 
MainNodeID : 
Policies that didn't match:

and you are sure that your user has the correct permissions then it is probable that the module name is not registered within the ModuleList array. (ref. to eZUser::generateAccessArray() )

Update your module.ini.append.php file and add the correct name or names to the ModuleList array.

You should also clear the cache to make such changes take effect.

Comments

Thank's^^

thank's for this news, very usefull^^

Appreciation?

My Amazon.com Wish List

eZ publish™ copyright © 1999-2012 eZ systems as