You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/07/28 16:28:14 UTC

[jira] Reopened: (FELIX-1225) factoryPid attribute of Designate elements for metatype data is not set

     [ https://issues.apache.org/jira/browse/FELIX-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reopened FELIX-1225:
-------------------------------------

      Assignee: Carsten Ziegeler  (was: Felix Meschberger)

Reopening as the handling of the Designate@factoryPID attribute is wrong: it should only be set if this is not a component factory. Therefore we need a new scr attribute setMetatypeFactoryPID which can be used to optionally set the Designate@factoryPID

> factoryPid attribute of Designate elements for metatype data is not set
> -----------------------------------------------------------------------
>
>                 Key: FELIX-1225
>                 URL: https://issues.apache.org/jira/browse/FELIX-1225
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.2.0
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: maven-scr-plugin-1.4.0
>
>
> The Maven SCR plugin currently only emits the pid attribute for Designate elements when MetaType files are written. 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.
> The fix is to emit the factoryPid attribute for factory components.

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