Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26522

Read-only shares a log message with Disable redeploy masking distinction

Details

    Description

      Noticed that on deployment policy: "Disable redeploy" and "Read-only" you get the same message in the log in H2:
      "maven-releases/a/b/4.0/b-4.0.mp4 cannot be updated"
      Orient has a distinct message for Read-only:
      "Repository is read only: maven-releases"
      I assume this isn't intentional, filing for analysis.

      Reproduce steps (via H2):

      • Push something to maven hosted
      • Push it again (default is disable redeploy but if you set it otherwise you'd have to set this first). You'll see "cannot be updated" in the log.
      • Change the deployment policy to read-only.
      • Push the item again. BUG: You'll see "cannot be updated" in the log.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jtom Joe Tom
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              tigCommentSecurity.panel-title