Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10589

Parsing of string arrays in org.apache.karaf.management.cfg doesn't ignore spaces

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.4-GA
    • Fix Version/s: None
    • Component/s: Karaf
    • Labels:
      None

      Description

      I can define "string array" properties in org.apache.karaf.management.cfg (e.g. enabledProtocols)

      If I define enabledProtocols=TLSv1.2,TLSv1.1 everything is right. (Parsed values are "TLSv1.2" and "TLSv1.1")
      But when I define enabledProtocols=TLSv1.2, TLSv1.1, array is parsed as "TLSv1.2" and " TLSv1.1", which is wrong.

      Correct behavior: white spaces in "string arrays" should be ignored.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jondruse Jiri Ondrusek
                  Reporter:
                  jondruse Jiri Ondrusek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: