portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Watler (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-1015) Unattached portlet definitions left in DB after registry unit tests run
Date Tue, 19 May 2009 01:37:45 GMT

    [ https://issues.apache.org/jira/browse/JS2-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710581#action_12710581
] 

Randy Watler commented on JS2-1015:
-----------------------------------

The change to PersistenceBrokerPortletRegistry.java is not strictly necessary, but it is more
in line with the existing PA and PD APIs. I had originally made this change to ensure that
construction of the cloned PD followed existing PD creation paradigms while debugging. We
can remove it if desired.

> Unattached portlet definitions left in DB after registry unit tests run
> -----------------------------------------------------------------------
>
>                 Key: JS2-1015
>                 URL: https://issues.apache.org/jira/browse/JS2-1015
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Portlet Registry, Testing
>    Affects Versions: 2.2.0
>         Environment: J2 2.2 trunk
> JDK6/Linux/x86_64
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>             Fix For: 2.2.1
>
>         Attachments: page-manager-ojb-collections.patch, registry-ojb-collections.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message