beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zach Smith (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-687) AnnotationMemberType.Text mistakes minLength
Date Thu, 18 Aug 2005 21:47:55 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-687?page=all ]
     
Zach Smith closed BEEHIVE-687:
------------------------------


maxLength works as advertised

> AnnotationMemberType.Text mistakes minLength
> --------------------------------------------
>
>          Key: BEEHIVE-687
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-687
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: v1m1
>     Reporter: James Song
>     Assignee: Hoi Lam
>      Fix For: v1m1

>
> Error message:
>       [apt] D:\beehive\controls\test\build\webapps\controlsWeb\WEB-INF\.tmpbeansrc\property\membersh
> ip\Controller.java:47: A value assigned to a control property does not satisfy its constraints.
Caus
> e: The value, coverlanguage, assigned to a text property exceeds the maximum length allowed:
0
>       [apt]     public BookControlBean myBook2;
>       [apt] D:\beehive\controls\test\build\webapps\controlsWeb\WEB-INF\.tmpbeansrc\property\membersh
> ip\Controller.java:43: A value assigned to a control property does not satisfy its constraints.
Caus
> e: The value, atitleofthebook, assigned to a text property exceeds the maximum length
allowed: 0
>       [apt]     public BookControlBean myBook;
> Repro:
> 1. change trunk\controls\test\src\controls\org\apache\beehive\controls\test\controls\property\constraint\BookControl.java
> change line 50,52,54,69,71,73 to the following:
> @AnnotationMemberTypes.Text(minLength=8)
> 2. change trunk\controls\test\webapps\controlsWeb\property\membership\Controller.jpf,
change line 42 to:@BookControl.Intro(title="atitleofthebook",content="",subject="")
> line 46 to:@BookControl.Language(coverlanguage="coverlanguage",contentlanguage="",authorlanguage="")
> 3 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


Mime
View raw message