Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1762

Upload Artifact page allows to uploading SNAPSHOT versions to non snapshot repositories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4-M4
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Uploading a SNAPSHOT version artifact to a repository that is not configured for snapshots (like the default internal repository) does not lead to an error.
      The message indicates that the artifact has been successfully uploaded.

      Artifacts uploaded and saved on Server side.

      However the repository is now in a non recoverable bad state and when one tries to browse to the uploaded artifact an error message is displayed:

      managed repo is configured for release only

      At that point it is not even possible to delete the erroneous artifact.

      Found with Archiva 1.4-M4 (2100)
      dist - Revision 2100: /dev/archiva/1.4-M4/binaries

        Attachments

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              lwerzinger Lothar Werzinger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: