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

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

    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

        1. config_primitive_array.patch
          1 kB
          Valentin Valchev

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: