tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1693) bval-jsr-1.1.1-SNAPSHOT.jar - ValidationMessages_es.properties (spanish) bad encoding
Date Wed, 13 Jan 2016 14:18:39 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096243#comment-15096243
] 

Romain Manni-Bucau commented on TOMEE-1693:
-------------------------------------------

[~paulo.bing@gmail.com] updated (thanks for the catch!) and redeployed on  https://repository.apache.org/content/groups/snapshots/org/apache/bval/bval-jsr/1.1.1-SNAPSHOT/.
The build failed cause of a dependency not on asf repo yet but it is "ok" since we work on
releasing it ATM. Side note: this is really a bval issue so BVAL project instead of TomEE
one ;).

> bval-jsr-1.1.1-SNAPSHOT.jar - ValidationMessages_es.properties (spanish) bad encoding
> -------------------------------------------------------------------------------------
>
>                 Key: TOMEE-1693
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1693
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 7.0.0-M1
>            Reporter: Paulo Bing
>         Attachments: ValidationMessages_es.properties, ValidationMessages_es.properties.png,
good ValidationMessages_de.properties.png
>
>
> Hello!
> We are facing an issue in our application deployed in Apache 7.0.0-M1, where a validation
message displayed to user has bad chars.
> Going through the bval.jar, inside ValidationMessages_*.properties, we have found that
only spanish has hardcoded special characters, rather than the \uxxxx unicode chars. In our
UTF-8 pages it shows as for instance:
> **Email: el tama�o tiene que estar comprendido entre 4 y 50 **
> It seems german and italian are ok.
> Details:
> %dev%\apache-tomee-7.0.0\lib\bval-jsr-1.1.1-SNAPSHOT.jar\org\apache\bval\jsr\ValidationMessages_es.properties
> For now we will override it in our app copying and fixing in new .properties file.
> And another observation - it was missing the diacritic in "vacio". Fixed below:
> org.apache.bval.constraints.NotEmpty.message=no puede ser vac\u00EDo
> Also I attach my new and fixed ValidationMessages_es.properties.
> Thanks and regards
> Paulo



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message