Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1884

mapHFJarfiles may miss some JARs when HF revision is greater than 1.0.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: NXP-6.0, NXP-7.x, NXP-8.x
    • Fix Version/s: NXP-6.0, NXP-7.x, NXP-8.x
    • Component/s: None

      Description

      mapHFJarfiles fakes HF installation since it is already using a full HF build.

      The logs show the following, meaning packages won't be installed and the JAR won't be mapped.

      Dependency resolution:
        Installation order (7):        nuxeo-7.10-HF12-1.0.1/nuxeo-7.10-HF13-1.0.1/nuxeo-7.10-HF18-1.0.1/nuxeo-7.10-HF22-1.0.2/nuxeo-7.10-HF23-1.0.1/nuxeo-7.10-HF24-1.0.1/nuxeo-csv-1.4.4
        Unchanged packages (19):       nuxeo-7.10-HF05:1.0.0, nuxeo-7.10-HF16:1.0.0, nuxeo-7.10-HF06:1.0.0, nuxeo-7.10-HF17:1.0.0, nuxeo-7.10-HF07:1.0.0, nuxeo-7.10-HF08:1.0.0, nuxeo-7.10-HF19:1.0.0, nuxeo-7.10-HF09:1.0.0, nuxeo-7.10-HF20:1.0.0, nuxeo-7.10-HF21:1.0.0, nuxeo-7.10-HF10:1.0.0, nuxeo-7.10-HF11:1.0.0, nuxeo-7.10-HF01:1.0.0, nuxeo-7.10-HF02:1.0.0, nuxeo-7.10-HF03:1.0.0, nuxeo-7.10-HF25:1.0.0, nuxeo-7.10-HF14:1.0.0, nuxeo-7.10-HF04:1.0.0, nuxeo-7.10-HF15:1.0.0
        Packages to upgrade (6):       nuxeo-7.10-HF18:1.0.0, nuxeo-7.10-HF22:1.0.0, nuxeo-7.10-HF23:1.0.0, nuxeo-7.10-HF12:1.0.0, nuxeo-7.10-HF24:1.0.0, nuxeo-7.10-HF13:1.0.0
        Packages to download (1):      nuxeo-csv:1.4.4
        Local packages to install (6): nuxeo-7.10-HF18:1.0.1, nuxeo-7.10-HF22:1.0.2, nuxeo-7.10-HF23:1.0.1, nuxeo-7.10-HF12:1.0.1, nuxeo-7.10-HF24:1.0.1, nuxeo-7.10-HF13:1.0.1
      
      Downloading [nuxeo-csv-1.4.4]...
      |
      Added nuxeo-csv-1.4.4
      Uninstalling nuxeo-7.10-HF24-1.0.0
      Failed to uninstall package: nuxeo-7.10-HF24-1.0.0
      org.nuxeo.connect.update.PackageException: Failed to load commands file
      	at org.nuxeo.connect.update.task.standalone.CommandsTask.loadCommands(CommandsTask.java:86)
      	at org.nuxeo.connect.update.task.standalone.CommandsTask.initialize(CommandsTask.java:74)
      	at org.nuxeo.connect.update.standalone.LocalPackageImpl.getTask(LocalPackageImpl.java:265)

      A solution would be to have a function to retrieve the latest revision of a package (cf connect lib)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h