Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-315

CombinedConfiguration fire EVENT_COMBINED_INVALIDATE even before the contained configuration is updated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Events & Notifications
    • Labels:
      None
    • Environment:

      Any

      Description

      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.

        Activity

        Andy Yeung created issue -
        Emmanuel Bourg made changes -
        Field Original Value New Value
        Fix Version/s 1.6 [ 12312450 ]
        Oliver Heger made changes -
        Assignee Oliver Heger [ oliver.heger@t-online.de ]
        Oliver Heger made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Oliver Heger made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Oliver Heger
            Reporter:
            Andy Yeung
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development