Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0
-
None
Description
Scott Anderson reported the following on the bridges-user mailing list:
<quote>
I was hoping to use the ServletContextProvider interface for obtaining the ServletContext, ServletRequest, & ServletResponse given a FilterPortlet implementation. Unfortunately, the ServletContextProvider requires that it be provided a GenericPortlet which FilterPortlet is not. I am going to go ahead and roll my own FilterPortlet that is a subclass of GenericPortlet but I thought I'd note this inconsistency so that this problem can hopefully be resolved in a subsequent release of Portals Bridges.
Scott
</quote>
After checking the current implementation of FilterPortlet which only implements the Portlet and PortletConfig interfaces (just as GenericPortlet), I think simply extending GenericPortlet will do the trick and should have no unexpected side-effects.
Attachments
Issue Links
- is depended upon by
-
PB-47 FilterPortlet throws NPE on PortletConfig dependent methods when the managed portlet doesn't implement PortletConfig
- Resolved