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

The Config Manager doesn't show configurations which values are pritive arrays

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • webconsole-3.0.0
    • Web Console
    • None

    Description

      When configuration property value is array, the value is converted to json using the following code:
      value = new JSONArray( Arrays.asList( ( Object[] ) value ) );

      However, if it is primitive array casting to Object[] will fail and the configuration will not displayed.

      The attached patch fixes the problem.

      Attachments

        Activity

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

          People

            fmeschbe Felix Meschberger
            v_valchev Valentin Valchev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment