Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-72699

As a developer, I want to only install the most recent version of an LPKG

    Details

      Description

      If there are multiple editions (not versions) of the same LPKG, only the most recent should be installed. Furthermore, the older editions should be marked as outdated. The new liferay-marketplace.properties property "supersedes-remote-app-ids" should be used in the new LPKG to identify which LPKG it is replacing

      Steps to test:

      1. Ant all on master
      2. Build lpkgs by running "ant build-app-lpkg-all" in modules
      3. In osgi/marketplace, Make a copy of "Liferay CE Amazon Rankings.lpkg" and rename it "Liferay CE Amazon Rankings Test.lpkg"
      4. Open "liferay-marketplace.properties" in "Liferay CE Amazon Rankings Test.lpkg" and make the following changes:
        1. Change "remote-app-id=Liferay CE Amazon Rankings" to "remote-app-id=Liferay CE Amazon Rankings Test".
        2. Change "title=Liferay CE Amazon Rankings" to "title=Liferay CE Amazon Rankings Test"
        3. Add "supersedes-remote-app-ids=Liferay CE Amazon Rankings"
      5. Start the app server

      Expected:
      "Liferay CE Amazon Rankings Test" will be installed and active and "Liferay CE Amazon Rankings" will be uninstalled. "Liferay CE Amazon Rankings.lpkg" will also contain file ".lfr-outdated".

        Attachments

          Activity

            People

            • Assignee:
              victor.ware Victor Ware
              Reporter:
              matthew.tambara Matthew Tambara
              Recent user:
              Csaba Turcsan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.0.0 DXP FP18
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                Master