David Le Strat wrote:
All,
I found an interesting problem with the registry. The
reason I stumbled on that problem is that the test
failed with OJB 1.0.3. I think we have a bug with the
current version of OJB.
The registry tests insert WebAppDescriptionImpl as
follow:
webApp.addDescription(Locale.FRENCH, "Description: Le
fromage est dans mon pantalon!");
INSERT INTO LOCALIZED_DESCRIPTION
VALUES(281,181,'org.apache.jetspeed.om.impl.WebAppDescriptionImpl','Description:
Le fromage est dans mon pantalon!','fr,,')
The description is added in french.
The test validation does:
assertNotNull("Web app did NOT persist its
description",
webApp.getDescription(Locale.getDefault()));
This assertion should fail. It should be
webApp.getDescription(Locale.FRENCH) that returns a
record. With current version or OJB, it works either
way: Locale.FRENCH or (Locale.getDefault().
Thoughts?
What locale do you run on test? C or en_US.UTF-8??
Thanks,
shinsuke
Regards,
David Le Strat.
________________________
David Le Strat
Blogging @ http://dlsthoughts.blogspot.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]