Problem with conf property resetting

Author Message

Franck Grenier

Monday 27 June 2011 2:37:13 am

Hello,
I'm trying to reset a configuration property in an extension. Here is the test :

- In menu.ini, topidentifierlist[] is set.
- ezwebin extension adds entries in topidentifierlist[]
- then, in an extension loaded after ezwebin, I reset topidentifierlist[] and add only one entry.
- when I see the configuration in backoffice, topidentifierlist[] is not reset. My new entry is added but not by the right source.
- My extension is loaded after ezwebin and also extends it, in extension.xml file.

I don't know if I'm doing something wrong. I have checked cache dir and files, cleaned and purged it. But it still not work.

When I edit the property from the backoffice, eZ Publish sees the right sources but the configuration result is not right.

Developer at Open Wide

André R.

Monday 27 June 2011 5:10:57 am

http://issues.ez.no/IssueView.php?Id=16962&activeItem=6

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Franck Grenier

Monday 27 June 2011 6:08:22 am

Ok, got it.

I found a solution by moving menu.ini.append.php from my extension to the override. The source indicated by the configuration browser is still wrong but the reset works.

Developer at Open Wide

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.