commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Yeung (JIRA)" <j...@apache.org>
Subject [jira] Created: (CONFIGURATION-315) CombinedConfiguration fire EVENT_COMBINED_INVALIDATE even before the contained configuration is updated
Date Wed, 27 Feb 2008 06:54:51 GMT
CombinedConfiguration fire EVENT_COMBINED_INVALIDATE even before the contained configuration
is updated
-------------------------------------------------------------------------------------------------------

                 Key: CONFIGURATION-315
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-315
             Project: Commons Configuration
          Issue Type: Bug
          Components: Events & Notifications
    Affects Versions: 1.5
         Environment: Any
            Reporter: Andy Yeung


CombinedConfiguration.configurationChanged doesn't check the !event.isBeforeUpdate() and trigger
the invalidate call. The invalidate call fire the EVENT_COMBINED_INVALIDATE. so now when a
contained config is changed, EVENT_COMBINED_INVALIDATE is fired twice by the CombinedConfiguration.
However it should only fire it after the contained FileConfiguration is updated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message