History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-771
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: Laurent Dejoux
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Apostrophes does not appears on alert messages

Created: 24/May/07 07:41 AM   Updated: 14/Aug/07 02:47 AM
Component/s: Web - Struts
Affects Version/s: 2.0-M5
Fix Version/s: 2.0-RC1

File Attachments: None
Image Attachments:

1. bug.gif
(4 kb)

2. signup.jpg
(216 kb)
Environment: http://demo.appfuse.org/appfuse-struts/signup.html


 Description  « Hide
see attached file
use '?locale=fr' to see the bug

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 24/May/07 09:49 AM
Can you provide more detailed steps to reproduce? If I go to http://demo.appfuse.org/appfuse-struts/signup.html?locale=fr and click submit (w/o entering anything), the validation messages are correct. Does this only happen when you try to add a user that already exists?

Laurent Dejoux - 29/May/07 03:13 AM
1/ user this url http://demo.appfuse.org/appfuse-struts/signup.html?locale=fr
2/ fill the form with a existing username ('user' in the screenshot)

=> 1st problem : the button "S'inscrire" does not have the apostrophy even if it's correctly written in the ApplicationRessources_fr.properties :
button.register=S'inscrire

3/ clic the "Sinscrire" button

=> Because the username already exist, an alert message appears. This message does not contains apostrophes :
The message should be : "errors.existing.user=L'identifiant ({0}) ou l'adresse email ({1}) existe d\u00e9j\u00e0. Veuillez essayer un autre identifiant."
And it is displayed (as in the sceenshot) : "Lidentifiant ({0}) ou ladresse email (de@de.de) existe déjà. Veuillez essayer un autre identifiant."

NB: I use this signup page as an example. This appears on all messages that contains apostrophes

Matt Raible - 14/Aug/07 02:47 AM
Fixed French Resource bundles by changing single quotes to double (' -> '') and fixing file encoding.