You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sagar Miglani (Jira)" <ji...@apache.org> on 2023/06/21 08:20:00 UTC

[jira] [Created] (FELIX-6614) WebConsole configMgr saves an empty value in list properites

Sagar Miglani created FELIX-6614:
------------------------------------

             Summary: WebConsole configMgr saves an empty value in list properites
                 Key: FELIX-6614
                 URL: https://issues.apache.org/jira/browse/FELIX-6614
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-4.8.8
            Reporter: Sagar Miglani


# Launch the Webconsole Configuration Manager and navigate to a configuration that contains an empty list property.
# Save the configuration without modifying.
# Upon saving, the list properties that were previously without any values will now be updated to include an empty value.


eg: {{Apache Sling Service User Mapper Service (org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl)}} in AEM
If configuration without any change is:
{code:xml}
:org.apache.felix.configadmin.revision:=L"1"
require.validation=B"true"
service.pid="org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl"
user.enable.default.mapping=B"false"
{code}

After saving it becomes:
{code:xml}
:org.apache.felix.configadmin.revision:=L"8"
require.validation=B"true"
required.principal.validators=[ \
  "", \
  ]
required.user.validators=[ \
  "", \
  ]
service.pid="org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl"
user.default=""
user.enable.default.mapping=B"false"
{code}

{{required.principal.validators}} and {{required.user.validators}} have empty values in it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)