[ http://issues.apache.org/jira/browse/BEEHIVE-116?page=all ]
Zach Smith reassigned BEEHIVE-116: ---------------------------------- Assign To: James Song (was: Kyle Marvin) > 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: James Song > 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira