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

Unattached portlet definitions left in DB after registry unit tests run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • Portlet Registry, Testing
    • None
    • J2 2.2 trunk
      JDK6/Linux/x86_64

    Description

      Portlet definition clone tests fail to properly clean up after cloned portlet definition is removed in unit tests. On the next unit test case invocation w/o clearing the database, queries for all portlet definitions fail when orphaned portlet definitions w/o a portlet applications are added to the registry cache and fail.

      Preliminary investigation indicates that the registry OM is not utilizing removal aware collections for persistent collections, but the test cases are trying to remove persistent members using operations on the transient collection implementations.

      Attachments

        1. page-manager-ojb-collections.patch
          13 kB
          W. Randall Watler
        2. registry-ojb-collections.patch
          50 kB
          W. Randall Watler

        Activity

          People

            rwatler W. Randall Watler
            rwatler W. Randall Watler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: