You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Sean Taylor (JIRA)" <je...@portals.apache.org> on 2007/02/15 03:41:05 UTC

[jira] Assigned: (JS2-632) PersistenceBrokerPortletEntityAccess patch to better support other PreferenceSet implementations

     [ https://issues.apache.org/jira/browse/JS2-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Sean Taylor reassigned JS2-632:
-------------------------------------

    Assignee: David Sean Taylor

> PersistenceBrokerPortletEntityAccess patch to better support other PreferenceSet implementations
> ------------------------------------------------------------------------------------------------
>
>                 Key: JS2-632
>                 URL: https://issues.apache.org/jira/browse/JS2-632
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Persistence and DAO, Portlet Entities and Preferences
>    Affects Versions: 2.1-dev
>         Environment: n/a
>            Reporter: Ethan Adams
>         Assigned To: David Sean Taylor
>            Priority: Minor
>         Attachments: PersistenceBrokerPortletEntityAccess.java.patch
>
>
> I have a special case where I want to use a PreferenceSet implementation other than PrefsPreferenceSetImpl.  However the PersistenceBrokerPortletEntityAccess does unchecked casts of the PreferenceSet objects that causes ClassCastExceptions.
> I've patched PersistenceBrokerPortletEntityAccess so that it checks if it is an instance of PrefsPreferenceSetImpl before casting.  Thought this could be helpful in the future.
> Attaching patch

-- 
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