[ http://issues.apache.org/jira/browse/BEEHIVE-656?page=all ]
     
Hoi Lam resolved BEEHIVE-656:
-----------------------------

    Resolution: Fixed

Fixed in SVN 169509.

Proper default values are now used for the min and max value of the Decimal 
annotation member type to avoid this issue.

> incorrect compile error when declaring a control with property constraint
> -------------------------------------------------------------------------
>
>          Key: BEEHIVE-656
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-656
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: James Song
>     Assignee: Hoi Lam
>      Fix For: V1

>
> Error message:
> [apt] 
> D:\beehive\controls\test\build\webapps\controlsWeb\WEB-INF\.tmpbeansrc\property\membersh
> ip\Controller.java:55: A value assigned to a control property does not 
> satisfy its constraints. Caus
> e: The value, 10.1, assigned to a decimal property exceeds the maximum value 
> allowed: 4.9E-324.
> [apt]     public BookControlBean myBook3;
> Property constaint on the control:
> @AnnotationMemberTypes.Decimal(minValue=10)
> public String us_price();
> Control declaration on jpf:
> @Control
> @BookControl.Price(us_price="10.1",ca_price="",eu_price="")
> Repro:
> svn update to r169505;
> run ant detailed.tests from trunk/controls/test

-- 
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

Reply via email to