You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/12/18 09:07:06 UTC

[jira] [Created] (FELIX-4360) Ensure ordered property values in configurations

Felix Meschberger created FELIX-4360:
----------------------------------------

             Summary: Ensure ordered property values in configurations
                 Key: FELIX-4360
                 URL: https://issues.apache.org/jira/browse/FELIX-4360
             Project: Felix
          Issue Type: Bug
          Components: Configuration Admin, Specification compliance
    Affects Versions: configadmin-1.8.0
            Reporter: Felix Meschberger


Older Configuration Admin Service specifications allowed multi-value properties to be stored as either arrays or Vector objects. Recently the specification was changed to support Collection objects.

The problem is that vectors are sorted, much like lists, while collections do not define an order.

The upcoming specification release of the Configuration Admin Service will clarify that configuration properties provided in a Collection object supporting ordering (e.g. Vector or List) must maintain their order when persisted and provided back.

For our implementation this should not be a problem since we are internally using ArrayLists. Still we might want to cross check and implement a unit or integration test to validate the claim.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)