Issue Details (XML | Word | Printable)

Key: APF-827
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Sebastien Arbogast
Votes: 0
Watchers: 0
Operations

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

Invalid resource string in French resource

Created: 24/Jun/07 07:36 AM   Updated: 14/Aug/07 02:20 AM   Resolved: 14/Aug/07 02:20 AM
Component/s: i18n
Affects Version/s: 2.0-M5
Fix Version/s: 2.0-RC1

Environment: MacOSX 10.4.10, Maven 2.0.6, IntelliJ Idea 6


 Description  « Hide
When running integration tests with the default ApplicationResources_fr.properties, the Signup test fails because of the label for the subscription button. By default it is "S'inscrire", which seems to be a problem because I get a "no button found" error message. I tried to change the label to "Inscription" and now it works fine. I tried to double the single quote, like "S''inscrire" but there is still the same message.

Matt Raible added a comment - 24/Jun/07 12:16 PM
If you escape the single quote with \', does it work? This appears to be a similar issue to APF-771.

Matt Raible added a comment - 24/Jun/07 12:28 PM
Which web framework are you using?

Sebastien Arbogast added a comment - 24/Jun/07 12:49 PM
Yes, I think it's another manifestation of the same issue. I've just tried with \' and it doesn't work either. \\' doesn't work either.
FYI I'm using Struts2 as a web framework.

Matt Raible made changes - 24/Jun/07 02:43 PM
Field Original Value New Value
Fix Version/s 2.0-RC1 [ 10151 ]
Matt Raible added a comment - 14/Aug/07 01:17 AM
In web-tests.xml, changing label="${button.register}" to name="button.register" seems to solve the problem.

Matt Raible made changes - 14/Aug/07 02:20 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
2835 by  Matt Raible (4 files)
14/Aug/07 02:46 AM (35 months, 30 days ago)