Forums de discussion
Remove old portlets from layout - Portlet not found for ...
Matthew Ellis, modifié il y a 16 années.
Remove old portlets from layout - Portlet not found for ...
Junior Member Publications: 36 Date d'inscription: 04/09/06 Publications récentes
In our portal we have recently rearranged all of our portlets and now we are getting a lot of errors that look like the following:
06-11 23:44:59,676 ERROR [com.liferay.portal.service.impl.PortletLocalServiceImpl] Portlet not found for blah.com Apply_WAR_myportlet layout-template-id=2_columns_iii
Is there a way to update the layouts to remove these missing portlets without so we stop getting error msgs? Can I do this directly in the database?
Thanks in advance,
Matt.
06-11 23:44:59,676 ERROR [com.liferay.portal.service.impl.PortletLocalServiceImpl] Portlet not found for blah.com Apply_WAR_myportlet layout-template-id=2_columns_iii
Is there a way to update the layouts to remove these missing portlets without so we stop getting error msgs? Can I do this directly in the database?
Thanks in advance,
Matt.
Matthew Ellis, modifié il y a 16 années.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Publications: 36 Date d'inscription: 04/09/06 Publications récentes
any ideas on this guys?
Charles M Moore, modifié il y a 16 années.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Publications: 26 Date d'inscription: 05/01/07 Publications récentesMatthew Ellis:
In our portal we have recently rearranged all of our portlets and now we are getting a lot of errors that look like the following:
06-11 23:44:59,676 ERROR [com.liferay.portal.service.impl.PortletLocalServiceImpl] Portlet not found for blah.com Apply_WAR_myportlet layout-template-id=2_columns_iii
Is there a way to update the layouts to remove these missing portlets without so we stop getting error msgs? Can I do this directly in the database?
Thanks in advance,
Matt.
Warning: this may impact your DB's referencial integrity
Here's what I've done in the past.
Using Toad, I browsed to the PORTLETPREFERENCES table, and deleted the entries for the portlet from the database. I may have deleted the entries from the LAYOUT table, but I can't remember.
Eric Dennis Fields, modifié il y a 16 années.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Publications: 4 Date d'inscription: 13/08/07 Publications récentes
I think i just ran into a similar situation.
I added a 'google adsense' instance merely to test out a design, and that seemed to blow the whole operation. i tried removing it from the portletspreferences db, but no luck. any suggestions?
21:22:53,186 WARN [PortletLocalServiceImpl:143] Portlet not found for liferay.com searchResults_WAR_myappportlets_INSTANCE_TEZZ
21:22:53,264 ERROR [jsp:52]
java.lang.NullPointerException
I added a 'google adsense' instance merely to test out a design, and that seemed to blow the whole operation. i tried removing it from the portletspreferences db, but no luck. any suggestions?
Jorge Ferrer, modifié il y a 16 années.
RE: Remove old portlets from layout - Portlet not found for ...
Liferay Legend Publications: 2871 Date d'inscription: 31/08/06 Publications récentes
Hi,
Currently the way described by Charles is the only way. If you keep seeing warnings it's because there is still a reference to the portlet in the table.
Currently the way described by Charles is the only way. If you keep seeing warnings it's because there is still a reference to the portlet in the table.
Mike A Lawrence, modifié il y a 16 années.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Publications: 3 Date d'inscription: 25/11/07 Publications récentes
It might be better to add a new portlet with the same ID so it will appear on the page.
Then use the GUI to remove this portlet.
Then use the GUI to remove this portlet.
Test Test Test, modifié il y a 15 années.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Publications: 38 Date d'inscription: 21/03/08 Publications récentes
Can anyone tell which tables we need to do clean up to remove portlets references? I did delete entries from PORTLETREFERENCE, RESOURCE_, RESOURCECODE tables. But I am still getting portlet not found error.
Thanks
UA
Thanks
UA
Brian Scott Schupbach, modifié il y a 15 années.
RE: Remove old portlets from layout - Portlet not found for ..
Expert Publications: 329 Date d'inscription: 23/10/08 Publications récentes
Layout.typeSettings will also need to be edited.
Be careful because there is a lot of other information in this column.
Be careful because there is a lot of other information in this column.
cengiz gunes, modifié il y a 7 années.
RE: Remove old portlets from layout - Portlet not found for ..
New Member Publications: 11 Date d'inscription: 28/06/16 Publications récentes
I get same errors.
so, I must make ;
delete PORTLETPREFERENCES, RESOURCE_, RESOURCECODE table
and delete rocord if have PORTLETID value in fields into LAYOUT.TYPESETTINGS ?
thanks.
PortletLocalServiceImpl Portlet not found for CompanyId PORTLETPREFERENCES.PORTLETID
so, I must make ;
delete PORTLETPREFERENCES, RESOURCE_, RESOURCECODE table
and delete rocord if have PORTLETID value in fields into LAYOUT.TYPESETTINGS ?
thanks.