Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-318

Upgrading to Torque 3.2-rc1 and to OJB 1.0.3

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M4
    • 2.0-M4
    • Persistence and DAO
    • None

    Description

      I have been doing some tests and I think we should upgrade Torque (to 3.2-rc1) and OJB (to 1.0.3) for the following reasons:

      1. Torque: Now supports derby for SQL generation. Also, issues with cascading delete and HSQL have been fixed. This will address http://issues.apache.org/jira/browse/JS2-227.

      2. OJB: Quite a few bugs fixed. Also, I noticed a couple of weird behaviors with the current version:
      As I mentioned in a previous email:

      • AbstractRegistryTest: the assertion on line 198 (assertNotNull("Web app did NOT persist its description", webApp.getDescription(Locale.FRENCH)) works no matter what locale is passed. I tried Locale.getDefault(), as well as Locale.FRENCH and it does not seem to matter. With 1.0.3, the assertion only works for Locale.FRENCH. Which the right correct behavior.
      • TestUserInfoManager: When testing with ExtendedPortletMetadata, I do not quite understand how
        it ever worked without calling updatePortletApplication on the registry. With OJB 1.0.3, you need to update the portlet application with the new loaded metadata for the test to pass. Just seem to make sense
        to me.

      I have applied the changes locally, I re-ran all the tests and everything is working, including the deployed application.

      Attachments

        1. JS2-318.txt
          1 kB
          Csákány Róbert

        Issue Links

          Activity

            People

              dlestrat David LeStrat
              dlestrat David LeStrat
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: