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 2010/07/19 11:02:49 UTC

[jira] Created: (FELIX-2478) Cardinality attribute for Property annotation should be of type string

Cardinality attribute for Property annotation should be of type string
----------------------------------------------------------------------

                 Key: FELIX-2478
                 URL: https://issues.apache.org/jira/browse/FELIX-2478
             Project: Felix
          Issue Type: Bug
          Components: SCR Annotations
    Affects Versions:  scr annotations 1.3.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: scr annotations 1.3.2


Currently it is not possible to define unlimited arrays or vectors using the cardinality attribute of the property.
While the doc states to use Integer.MAX_VALUE, this creates a parsing exception in the code and even if that would work, later on a string is expected with the value "+"

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


[jira] Closed: (FELIX-2478) Cardinality attribute for Property annotation should be of type string

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-2478.
------------------------------------


Close after release

> Cardinality attribute for Property annotation should be of type string
> ----------------------------------------------------------------------
>
>                 Key: FELIX-2478
>                 URL: https://issues.apache.org/jira/browse/FELIX-2478
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin, SCR Annotations
>    Affects Versions:  maven-scr-plugin-1.4.4,  scr annotations 1.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For:  maven-scr-plugin-1.6.0, scr annotations 1.4.0
>
>
> Currently it is not possible to define unlimited arrays or vectors using the cardinality attribute of the property.
> While the doc states to use Integer.MAX_VALUE, this creates a parsing exception in the code and even if that would work, later on a string is expected with the value "+"

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


[jira] Resolved: (FELIX-2478) Cardinality attribute for Property annotation should be of type string

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved FELIX-2478.
-------------------------------------

    Resolution: Fixed

Added a new attributed "unbounded" to avoid any compatibility problems with the existing cardinality attribute. Added in revision 965433

> Cardinality attribute for Property annotation should be of type string
> ----------------------------------------------------------------------
>
>                 Key: FELIX-2478
>                 URL: https://issues.apache.org/jira/browse/FELIX-2478
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin, SCR Annotations
>    Affects Versions:  maven-scr-plugin-1.4.4,  scr annotations 1.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For:  maven-scr-plugin-1.4.6, scr annotations 1.3.2
>
>
> Currently it is not possible to define unlimited arrays or vectors using the cardinality attribute of the property.
> While the doc states to use Integer.MAX_VALUE, this creates a parsing exception in the code and even if that would work, later on a string is expected with the value "+"

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


[jira] Updated: (FELIX-2478) Cardinality attribute for Property annotation should be of type string

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-2478:
------------------------------------

        Fix Version/s:  maven-scr-plugin-1.4.6
    Affects Version/s:  maven-scr-plugin-1.4.4
          Component/s: Maven SCR Plugin

> Cardinality attribute for Property annotation should be of type string
> ----------------------------------------------------------------------
>
>                 Key: FELIX-2478
>                 URL: https://issues.apache.org/jira/browse/FELIX-2478
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin, SCR Annotations
>    Affects Versions:  maven-scr-plugin-1.4.4,  scr annotations 1.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For:  maven-scr-plugin-1.4.6, scr annotations 1.3.2
>
>
> Currently it is not possible to define unlimited arrays or vectors using the cardinality attribute of the property.
> While the doc states to use Integer.MAX_VALUE, this creates a parsing exception in the code and even if that would work, later on a string is expected with the value "+"

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