felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4813) Metatype information might contain wrong default values
Date Sat, 28 Feb 2015 03:47:04 GMT
Carsten Ziegeler created FELIX-4813:
---------------------------------------

             Summary: Metatype information might contain wrong default values
                 Key: FELIX-4813
                 URL: https://issues.apache.org/jira/browse/FELIX-4813
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
    Affects Versions: http-2.4.0, http-2.3.2, http-2.3.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: http-next


The metatype information for the JettyService does not consider values from the bundle context
properties. Therefore it can happen that it for example contains the port 8080 while the actual
port is something different. If a tool now uses the metatype information to create a configuration
form it displays the wrong value and once such a configuration is saved, unexpected changes
might occur.
This can be easily reproduced by using the property to change the port when starting an instance,
going to the web console and saving the configuration. The port will change to 8080 without
any further action.
The same happens to all properties that have been changed through bundle context properties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message