[ http://issues.apache.org/jira/browse/BEEHIVE-1055?page=all ]
Julie Zhuo reassigned BEEHIVE-1055:
-----------------------------------
Assign To: Chad Schoettger (was: Alejandro Ramirez)
Chad, I have verified the compiler output with rev373618. It looks good. See
below. I have created a patch to add a compiler test for it since I have not
seen one in the compiler test suite to cover this. Can you please take a look
at the patch and check it in for me if it looks all right for you? Please
assign it back to me for closure after. Thanks.
Here is the actual compiler output generated,
D:\beehive\netui\build\compiler.testResults\compiler\SF_FieldWithNullName\WEB-INF\.tmpbeansrc\fieldWithNullName\Controller.java:25:
annotation org.apache.beehive.netui.pageflow.annotations.Jpf.SharedFlowField
is missing name
@Jpf.SharedFlowField()
^
1 error
> Assertion error when SharedFlowField annotation's name attribute is not
> specified
> ---------------------------------------------------------------------------------
>
> Key: BEEHIVE-1055
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1055
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Chad Schoettger
> Assignee: Chad Schoettger
> Priority: Minor
> Fix For: 1.0.1
> Attachments: patch.txt
>
> If the SharedFlowField annotation is used in a page flow and its name
> attribute is not specified, compilation fails due to an AssertionError that
> the name attribute is not null. This isn't the 'nice' way to fail when
> pageflows are being compiled by an IDE, should instead check for the null
> value and fail gracefully instead of in the assert manner.
--
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