Foros de discusión
Remove old portlets from layout - Portlet not found for ...
Matthew Ellis, modificado hace 16 años.
Remove old portlets from layout - Portlet not found for ...
Junior Member Mensajes: 36 Fecha de incorporación: 4/09/06 Mensajes recientes
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 hace 16 años.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Mensajes: 36 Fecha de incorporación: 4/09/06 Mensajes recientes
any ideas on this guys?
Charles M Moore, modificado hace 16 años.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Mensajes: 26 Fecha de incorporación: 5/01/07 Mensajes recientesMatthew 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 hace 16 años.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Mensajes: 4 Fecha de incorporación: 13/08/07 Mensajes recientes
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 hace 16 años.
RE: Remove old portlets from layout - Portlet not found for ...
Liferay Legend Mensajes: 2871 Fecha de incorporación: 31/08/06 Mensajes recientes
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 hace 16 años.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Mensajes: 3 Fecha de incorporación: 25/11/07 Mensajes recientes
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 hace 15 años.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Mensajes: 38 Fecha de incorporación: 21/03/08 Mensajes recientes
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 hace 15 años.
RE: Remove old portlets from layout - Portlet not found for ..
Expert Mensajes: 329 Fecha de incorporación: 23/10/08 Mensajes recientes
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 hace 7 años.
RE: Remove old portlets from layout - Portlet not found for ..
New Member Mensajes: 11 Fecha de incorporación: 28/06/16 Mensajes recientes
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.