[jboss-jira] [JBoss JIRA] (WFCORE-1094) ConfigurationChangeResourceRemoveHandler makes its changes in the constructor not in execute

ehsavoie Hugonnet (JIRA) issues at jboss.org
Wed Nov 4 04:40:00 EST 2015


ehsavoie Hugonnet created WFCORE-1094:
-----------------------------------------

             Summary: ConfigurationChangeResourceRemoveHandler makes its changes in the constructor not in execute
                 Key: WFCORE-1094
                 URL: https://issues.jboss.org/browse/WFCORE-1094
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.0.0.Final
            Reporter: ehsavoie Hugonnet
            Assignee: ehsavoie Hugonnet
            Priority: Major
             Fix For: 3.0.0.Alpha1


ConfigurationChangeResourceRemoveHandler is calling ConfigurationChangesCollector.deactivate() in its constructor. So deactivate gets called at early boot when the ConfigurationChangeResourceDefinition class gets loaded and the maxHistory is still 0, but never thereafter.

A reload won't cause it to get called again either, as ConfigurationChangeResourceDefinition is only constructed when the static INSTANCE member is initialized.




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list