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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: webconsole-3.0.0
    • Component/s: Web Console
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: