Foren
Remove old portlets from layout - Portlet not found for ...
Matthew Ellis, geändert vor 16 Jahren.
Remove old portlets from layout - Portlet not found for ...
Junior Member Beiträge: 36 Beitrittsdatum: 04.09.06 Neueste Beiträge
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, geändert vor 16 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Beiträge: 36 Beitrittsdatum: 04.09.06 Neueste Beiträge
any ideas on this guys?
Charles M Moore, geändert vor 16 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Beiträge: 26 Beitrittsdatum: 05.01.07 Neueste BeiträgeMatthew 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, geändert vor 16 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Beiträge: 4 Beitrittsdatum: 13.08.07 Neueste Beiträge
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, geändert vor 16 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
Liferay Legend Beiträge: 2871 Beitrittsdatum: 31.08.06 Neueste Beiträge
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, geändert vor 16 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
New Member Beiträge: 3 Beitrittsdatum: 25.11.07 Neueste Beiträge
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, geändert vor 15 Jahren.
RE: Remove old portlets from layout - Portlet not found for ...
Junior Member Beiträge: 38 Beitrittsdatum: 21.03.08 Neueste Beiträge
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, geändert vor 15 Jahren.
RE: Remove old portlets from layout - Portlet not found for ..
Expert Beiträge: 329 Beitrittsdatum: 23.10.08 Neueste Beiträge
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, geändert vor 7 Jahren.
RE: Remove old portlets from layout - Portlet not found for ..
New Member Beiträge: 11 Beitrittsdatum: 28.06.16 Neueste Beiträge
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.