Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6042

Lists are not recognized as typed properties

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • utils-1.11.4
    • Utils
    • None

    Description

      The issue is related to TypedProperties and appears only when lists are deserialized. It was originally reported by tom@quarendon.net (Apparent bug storing collection in org.apache.felix.utils.properties.TypedProperties) in the Felix mailing list.

      The class org.apache.felix.utils.properties.Properties.PropertiesReader uses an incomplete regular expression, so that lists are not recognized as typed properties and get interpreted as strings.

      Extending the regular expression will fix the issue.

      Attachments

        Activity

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

          People

            bosschaert David Bosschaert
            cfiehe Christoph Fiehe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment