The MetaType service should ignore the pid attribute of Designate elements if 
factoryPid is set.
------------------------------------------------------------------------------------------------

                 Key: FELIX-1226
                 URL: https://issues.apache.org/jira/browse/FELIX-1226
             Project: Felix
          Issue Type: Bug
          Components: Metatype Service
    Affects Versions: metatype-1.0.2
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: metatype-1.0.4


According to Section 105.6.2, Use of the Designate Element, the Designate 
element may contain pid attribute alone or a pid attribute and a factoryPid 
attribute. In the latter case the pid attribute should be ignored unless the 
Designate contains an Object element for consumption by the Configuration Admin 
to create a factory configuration instance.

Since the MetaType service is interested in the type descriptors, the pid 
should really be ignored in these situations. Currently both the pid and the 
factoryPid are recorded.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to