You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jakub Rinkes (JIRA)" <ji...@apache.org> on 2012/08/17 13:27:38 UTC
[jira] [Created] (WICKET-4717) StringValidator.exactLength has
wrong variable in ErrorMessage
Jakub Rinkes created WICKET-4717:
------------------------------------
Summary: StringValidator.exactLength has wrong variable in ErrorMessage
Key: WICKET-4717
URL: https://issues.apache.org/jira/browse/WICKET-4717
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.0.0-beta3, 6.0.0
Reporter: Jakub Rinkes
Priority: Minor
In error message for StringValidator.exactLength is variable ${exact} , but in StringValidator.decorate is added variable length to map and not exact.
Excaption when is error message interpolate for show in feedback.
Caused by: java.lang.IllegalArgumentException: Value of variable [[exact]] could not be resolved while interpolating [['${label}' is not exactly ${exact} characters long.]]
property from application.
StringValidator.exact='${label}' is not exactly ${exact} characters long.
When I added same property in my own properties and change exact to length, it works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (WICKET-4717) StringValidator.exactLength has
wrong variable in ErrorMessage
Posted by "Sven Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-4717.
--------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
Assignee: Sven Meier
The variable "exact" is now added, thanks!
> StringValidator.exactLength has wrong variable in ErrorMessage
> --------------------------------------------------------------
>
> Key: WICKET-4717
> URL: https://issues.apache.org/jira/browse/WICKET-4717
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.0.0-beta3, 6.0.0
> Reporter: Jakub Rinkes
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 6.0.0
>
>
> In error message for StringValidator.exactLength is variable ${exact} , but in StringValidator.decorate is added variable length to map and not exact.
> Exception when is error message interpolate for show in feedback.
> Caused by: java.lang.IllegalArgumentException: Value of variable [[exact]] could not be resolved while interpolating [['${label}' is not exactly ${exact} characters long.]]
> property from application.
> StringValidator.exact='${label}' is not exactly ${exact} characters long.
> When I added same property in my own properties and change exact to length, it works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WICKET-4717) StringValidator.exactLength has
wrong variable in ErrorMessage
Posted by "Jakub Rinkes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Rinkes updated WICKET-4717:
---------------------------------
Description:
In error message for StringValidator.exactLength is variable ${exact} , but in StringValidator.decorate is added variable length to map and not exact.
Exception when is error message interpolate for show in feedback.
Caused by: java.lang.IllegalArgumentException: Value of variable [[exact]] could not be resolved while interpolating [['${label}' is not exactly ${exact} characters long.]]
property from application.
StringValidator.exact='${label}' is not exactly ${exact} characters long.
When I added same property in my own properties and change exact to length, it works.
was:
In error message for StringValidator.exactLength is variable ${exact} , but in StringValidator.decorate is added variable length to map and not exact.
Excaption when is error message interpolate for show in feedback.
Caused by: java.lang.IllegalArgumentException: Value of variable [[exact]] could not be resolved while interpolating [['${label}' is not exactly ${exact} characters long.]]
property from application.
StringValidator.exact='${label}' is not exactly ${exact} characters long.
When I added same property in my own properties and change exact to length, it works.
> StringValidator.exactLength has wrong variable in ErrorMessage
> --------------------------------------------------------------
>
> Key: WICKET-4717
> URL: https://issues.apache.org/jira/browse/WICKET-4717
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.0.0-beta3, 6.0.0
> Reporter: Jakub Rinkes
> Priority: Minor
>
> In error message for StringValidator.exactLength is variable ${exact} , but in StringValidator.decorate is added variable length to map and not exact.
> Exception when is error message interpolate for show in feedback.
> Caused by: java.lang.IllegalArgumentException: Value of variable [[exact]] could not be resolved while interpolating [['${label}' is not exactly ${exact} characters long.]]
> property from application.
> StringValidator.exact='${label}' is not exactly ${exact} characters long.
> When I added same property in my own properties and change exact to length, it works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira