Forums de discussion

Liferay plugin versioning

O U, modifié il y a 6 années.

Liferay plugin versioning

Junior Member Publications: 27 Date d'inscription: 22/02/11 Publications récentes
Hi,

I have a custom portlet v1.0 that has been deployed on a Liferay Portal.

When I create a new version of this portlet, i change the module-incremental-version in the liferay-plugin-package.properties to 1.1 for example.

Then I deploy it, it creates a custom-portlet-7.0.0.1.1.war that i paste into the deploy folder of my Liferay.

It deploys without any problem but then I realize my older version has not been replaced. I now have 2 separate version of the same portlet .

How can I tell Liferay to upgrade older versions of that custom portlet ?

Thanks,
Oliver
thumbnail
Jorge Díaz, modifié il y a 6 années.

RE: Liferay plugin versioning

Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
I think your issue can be the same than LPS-74956

It will be solved in next version of Liferay 7.0
O U, modifié il y a 6 années.

RE: Liferay plugin versioning

Junior Member Publications: 27 Date d'inscription: 22/02/11 Publications récentes
Thanks you for your reply. Do you happen to know if there is any workaround without having to upgrade to the newest version ?
thumbnail
Jorge Díaz, modifié il y a 6 années.

RE: Liferay plugin versioning

Liferay Master Publications: 753 Date d'inscription: 09/01/14 Publications récentes
The workaround is to manually uninstall the old version of your portlet.

You can also try compiling and applying the LPS change to your installation: https://github.com/brianchandotcom/liferay-portal/pull/51892

If you are an enterprise subscriber, you can ask for a hotfix in LESA