You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kyle Marvin (JIRA)" <be...@incubator.apache.org> on 2005/02/10 19:11:12 UTC

[jira] Resolved: (BEEHIVE-116) control packaging ManifestAttribute name allows empty string

     [ http://issues.apache.org/jira/browse/BEEHIVE-116?page=history ]
     
Kyle Marvin resolved BEEHIVE-116:
---------------------------------

    Resolution: Fixed

Resolved by 153278

> control packaging ManifestAttribute name allows empty string
> ------------------------------------------------------------
>
>          Key: BEEHIVE-116
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-116
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: Kyle Marvin
>     Priority: Minor
>      Fix For: V1Beta

>
> This originates from CR199363.
>  For the following control:
> @ControlInterface
> @ManifestAttributes({
>     @ManifestAttribute(name="", value="HelloControlIFAttributeValue1"),
>     @ManifestAttribute(name="HelloControlIFAttribute2", value="HelloControlIFAttributeValue2"),
>     @ManifestAttribute(name="HelloControlIFAttribute3", value=" ")
> })
> public interface HelloControl
> {
>     public String hello(String input);
> }
> The generated manifest is like the following:
> Name: org/apache/beehive/controls/test/controls/packaging/HelloControl
>  Bean.class
> JavaBean: true
> HelloControlIFAttribute3:
> HelloControlIFAttribute2: HelloControlIFAttributeValue2
> : HelloControlIFAttributeValue1
> Similarly:
> For
> @ControlInterface
> @ManifestAttributes({
>     @ManifestAttribute(name=";", value="HelloControlIFAttributeValue1"),
>     @ManifestAttribute(name="HelloControlIFAttribute2", value="HelloControlIFAttributeValue2"),
>     @ManifestAttribute(name="HelloControlIFAttribute3", value=" ")
> })
> public interface HelloControl
> {
>     public String hello(String input);
> }
> The manifest is:
> Name: org/apache/beehive/controls/test/controls/packaging/HelloControl
>  Bean.class
> JavaBean: true
> HelloControlIFAttribute3:
> HelloControlIFAttribute2: HelloControlIFAttributeValue2
> ;: HelloControlIFAttributeValue1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira