Fórumok

Portlet Id changed after conveting to ext portlet to plugins

thumbnail
Archi Madhu, módosítva 12 év-val korábban

Portlet Id changed after conveting to ext portlet to plugins

Regular Member Bejegyzések: 237 Csatlakozás dátuma: 2008.03.25. Legújabb bejegyzések
Hi All,

We are doing upgrade from LR version 5.1.2 to 6 EE SP1.

As part of code migration we have converted some of the custom portlets developed in EXT environment in LR 5.1.2 to plugins portlet in LR 6.
Problem - After EXT portlets converted to plugins portlets, portlet ids are changed.

for example -
portlet id in LR 5.1.2 portlet id in LR 6
organization organization_WAR_OrganizationListportlet

One solution can be update database and change portlet id as required.

Is there any other solution for this?


Thanks,
Archi
thumbnail
Raja Nagendra Kumar, módosítva 12 év-val korábban

RE: Portlet Id changed after conveting to ext portlet to plugins

Expert Bejegyzések: 484 Csatlakozás dátuma: 2006.03.02. Legújabb bejegyzések
Could you pl. explain more where all and how you are using/depending on Portlet ID. It is not a good idea to explicitly depend on portlet ID.

See this tread to have some runtime way to fetch and build your logic at
http://www.liferay.com/community/forums/-/message_boards/message/984556

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
thumbnail
Archi Madhu, módosítva 12 év-val korábban

RE: Portlet Id changed after conveting to ext portlet to plugins

Regular Member Bejegyzések: 237 Csatlakozás dátuma: 2008.03.25. Legújabb bejegyzések
Raja Nagendra Kumar:
Could you pl. explain more where all and how you are using/depending on Portlet ID. It is not a good idea to explicitly depend on portlet ID.

See this tread to have some runtime way to fetch and build your logic at
http://www.liferay.com/community/forums/-/message_boards/message/984556

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com


Hi Raja,

We have done data migration from LR 5.1.2 to 6 EE SP1.
In liferay,all the portlet ids and portlet locations on pages are stored in layout table.

Now problem is - even with ugraded database and deployed portlets(which are converted from LR 5.1.2 EXT to LR6 plugins) , in pages it shows "portlet is not deployed".
Infact portlet is deployed but it is portlet id that is differing.

In liferay 5.1.2 EXT portletid for custom portlet is - "organization"
In Liferay 6 plugin portletid for same custom portlet is - "organization_WAR_OrganizationListportlet"


How can I resolve this problem? Any idea?

Thanks,
Archi
thumbnail
Walter Guardia, módosítva 12 év-val korábban

RE: Portlet Id changed after conveting to ext portlet to plugins

Regular Member Bejegyzések: 127 Csatlakozás dátuma: 2010.05.05. Legújabb bejegyzések
Hi,

I think that is the only way to solved your problem, I applied this at the time:

http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+4.3+to+5.2

Regards,
thumbnail
Archi Madhu, módosítva 12 év-val korábban

RE: Portlet Id changed after conveting to ext portlet to plugins

Regular Member Bejegyzések: 237 Csatlakozás dátuma: 2008.03.25. Legújabb bejegyzések
Walter Guardia:
Hi,

I think that is the only way to solved your problem, I applied this at the time:

http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+4.3+to+5.2

Regards,



Thanks Walter.
We finally decided to use database approach.