Fórum
Remove old portlets from layout - Portlet not found for ...
Matthew Ellis, modificado 16 Anos atrás.
Remove old portlets from layout - Portlet not found for ...
Junior Member Postagens: 36 Data de Entrada: 04/09/06 Postagens Recentes
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, modificado 16 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Postagens: 36 Data de Entrada: 04/09/06 Postagens Recentes
any ideas on this guys?
Charles M Moore, modificado 16 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Postagens: 26 Data de Entrada: 05/01/07 Postagens RecentesMatthew 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, modificado 16 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Postagens: 4 Data de Entrada: 13/08/07 Postagens Recentes
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, modificado 16 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
Liferay Legend Postagens: 2871 Data de Entrada: 31/08/06 Postagens Recentes
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, modificado 16 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Postagens: 3 Data de Entrada: 25/11/07 Postagens Recentes
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, modificado 15 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Postagens: 38 Data de Entrada: 21/03/08 Postagens Recentes
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, modificado 15 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ..
Expert Postagens: 329 Data de Entrada: 23/10/08 Postagens Recentes
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, modificado 7 Anos atrás.
RE: Remove old portlets from layout - Portlet not found for ..
New Member Postagens: 11 Data de Entrada: 28/06/16 Postagens Recentes
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.