[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Mattsson updated MAGNOLIA-3457:
--------------------------------------
Summary: Config reload on Module doesn't work if config-node is missing
at start. (was: Config reload on Module doesn't work if config-node is missing
at start. Config-rename doesn't null out property.)
Description: If I have no config-node on my module in the repository at
start and then add the config-folder, and a content-node with data with the
correct name according to my module. Magnolia do restart my Module but the
property on my Module-object is not set, it's still null. (was: If I have no
config-node on my module in the repository at start and then add the
config-folder, and a content-node with data with the correct name according to
my module. Magnolia do restart my Module but the property on my Module-object
is not set, it's still null.
And one other thing. If I have the config loaded and rename a property, the
module is reloaded but the property is still there with all old values. I think
it should be null.
Renaming property.
2010-12-08 12:21:25,599 INFO AdminTreeMVCHandler.renameNode(564)
Moving node from /modules/kokaihop/config/properties to
/modules/kokaihop/config/properties2
2010-12-08 12:21:30,609 INFO ModuleManagerImpl.stopModule(388)
Stopping module kokaihop
2010-12-08 12:21:30,609 INFO KokaihopModule.stop(60)
module stop, during restart
2010-12-08 12:21:30,610 INFO ModuleManagerImpl.startModule(380)
Starting module kokaihop
2010-12-08 12:21:30,610 INFO KokaihopModule.start(49)
module start, during restart
Module restarted but property is still intact.
)
Created a separate issue for nulling out properties on the module instance,
MAGNOLIA-3862.
> Config reload on Module doesn't work if config-node is missing at start.
> ------------------------------------------------------------------------
>
> Key: MAGNOLIA-3457
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3457
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Affects Versions: 4.4.1
> Environment: OSX
> Reporter: Kimmo Björnsson
> Assignee: Tobias Mattsson
> Priority: Major
> Fix For: 4.5
>
>
> If I have no config-node on my module in the repository at start and then add
> the config-folder, and a content-node with data with the correct name
> according to my module. Magnolia do restart my Module but the property on my
> Module-object is not set, it's still null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------