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

Unattached portlet definitions left in DB after registry unit tests run

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Component/s: Portlet Registry, Testing
    • Labels:
      None
    • Environment:
      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

          Activity

            People

            • Assignee:
              rwatler Randy Watler
              Reporter:
              rwatler Randy Watler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: