Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1877

Array type properties do not evaluate as equal on reload update strategy (blueprint-cm)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • blueprint-cm-1.3.0
    • blueprint-cm-1.3.2
    • Blueprint
    • None

    Description

      When the CmPropertyPlaceholder is evaluating if configurations have been updated and it needs to reload, there is a bug if the properties being compared are arrays. In our use case, we are seeing string arrays that should be equal evaluate as not equal.

      Code in question: https://github.com/apache/aries/blob/1afa8a3c181cca7896a764d4f9e902623873a172/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmPropertyPlaceholder.java#L158-L160

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sgalla Shannon Gallagher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment