Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5229

The download manager may generate wrong jar with custom urls

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0.M1
    • Component/s: None
    • Labels:
      None

      Description

      If you deploy a jar such as wrap:mvn:xxx and later change the URL to deploy wrap:mvn:xxx$wrap-instructions or if you change the instructions, the first jar is returned early.
      The cause is the check at
      https://github.com/apache/karaf/blob/master/features/core/src/main/java/org/apache/karaf/features/internal/download/impl/SimpleDownloadTask.java#L63-L66
      where the name of the computed file is always the same.

        Attachments

          Activity

            People

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              gnt Guillaume Nodet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: