Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4424

Patch management does not find patch files

    XMLWordPrintable

Details

    Description

      Our Patch Management system does not find patch files, if they were commited as last commit before creating a new Jahia (hotfix) release. As can be seen in the latest hotfix release (now jahia-hotfix-5.0.5_1_r25260.zip ) the release number 25260 is also the same as the last commit before the release, which is in this case a change on ProcessingContext. If the last commit would be a patch for the patch management, it would not be displayed, becuase there is this check:

      patch.getNumber() > lastVersion && patch.getNumber() < currentVersion

      which simply excludes a patch having the same number as the release.

      We should also enhance the system and allow applying custom (version independent) patches, which have no number in the name, so the correct check should be:

      patch.getNumber() == 0 || (patch.getNumber() > lastVersion && patch.getNumber() <= currentVersion)

      TestRail: Results

        Attachments

          Activity

            People

              pap@commaro.com_old Benjamin Papez (Inactive)
              pap@commaro.com_old Benjamin Papez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 5.0 SP5 HOTFIX
                      xCM 5.0 SP6
                      xCM 6.0