You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Wulf Wechsung (JIRA)" <ji...@apache.org> on 2012/10/30 18:42:11 UTC

[jira] [Updated] (TAP5-2023) zh_CN validation messages broken

     [ https://issues.apache.org/jira/browse/TAP5-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wulf Wechsung updated TAP5-2023:
--------------------------------

    Description: 
The validation messages "minimum-string-length" and "maximum-string-length" in ValidationMessages_zh_CN.properties don't use properly indexed format parameters. As a result, rendering a field with "min-length" validation will yield exception

Render queue error in BeginRender[<Page>:<Field>]: d != java.lang.String

because it tries to convert the format parameter containing the field label to integer.


  was:
The validation messages "minimum-string-length" and "maximum-string-length" in ValidationMessages_zh_CN.properties don't use properly indexed format parameters. As a result, rendering a field with "min-length" validation will yield exception

Render queue error in BeginRender[<Page>:<Field>]: d != java.lang.String

because it tries to convert the format parameter containing the field label to string.


    
> zh_CN validation messages broken
> --------------------------------
>
>                 Key: TAP5-2023
>                 URL: https://issues.apache.org/jira/browse/TAP5-2023
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.3
>            Reporter: Wulf Wechsung
>              Labels: validation, zh_CN
>
> The validation messages "minimum-string-length" and "maximum-string-length" in ValidationMessages_zh_CN.properties don't use properly indexed format parameters. As a result, rendering a field with "min-length" validation will yield exception
> Render queue error in BeginRender[<Page>:<Field>]: d != java.lang.String
> because it tries to convert the format parameter containing the field label to integer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira