]
Julien Viet updated GTNPORTAL-1043:
-----------------------------------
Issue Type: Feature Request (was: Bug)
Priority: Minor (was: Major)
Application registry doesn't properly deal with portlets that are
undeployed.
-----------------------------------------------------------------------------
Key: GTNPORTAL-1043
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-1043
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: User Interface
Affects Versions: 3.0.0-GA
Reporter: Michal Vanco
Priority: Minor
This is in particular visible with remote portlets if consumers are removed.
Michal says:
When I create new consumer, I can see remote portlet in App.registry
(Portlets/Remote), when I click Auto Import, category with remote
portlet is created.
When I deactivate consumer, I can't see the portlet in App.category
(Portlets/Remote), but when I click Auto import, category with remote
portlet is still there. Is it ok? Shouldn't it dissapper if it is not
present?
I am also able to add this remote portlet to page and it works.
After I delete consumer, I can still see the caterory with portlet in
App.registry, when click Auto import, in log is:
ERROR [STDERR] org.gatein.pc.api.NoSuchPortletException: No such portlet
self./jboss-image-portlet-sample-remotable-GateIn.jboss-image-portlet-sample
And when I add this portlet to page I can see
"This portlet encountered an error and could not be displayed"
and in log is:
org.gatein.pc.api.NoSuchPortletException: No such portlet
self./jboss-image-portlet-sample-remotable-GateIn.jboss-image-portlet-sample
I think that when I deactivate/delete consumer, I shouldn't be able to see its
portlets anywhere.
==
The same behavior will actually happen if you undeploy a portlet and re-import all
applications. The import process is only additive, it doesn't remove anything that is
not available anymore.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: