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().
>
Make sure to notify the OJB community about this issue.
Brian McCallister told me at ApacheCon that they would diligently
investigate/fix any bugs we could uncover and for which we could create a test
case.
--
Raphaël Luta - [EMAIL PROTECTED]
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]