History | Log In     View a printable version of the current page.  
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
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.

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 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 - 24/Jun/07 12:28 PM
Which web framework are you using?

Sebastien Arbogast - 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 - 14/Aug/07 01:17 AM
In web-tests.xml, changing label="${button.register}" to name="button.register" seems to solve the problem.