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

Cannot edit docker repository

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Docker, UI
    • Labels:
      None
    • Environment:
      Chrome MacOSX
    • Story Points:
      1
    • Sprint:
      Sprint 65 - Föhn

      Description

      I just noticed that if you're attempting to edit a docker repository, the port has validation over it that says "Port is already in use" and thus the saves cannot happen.
      Really annoying workaround is to delete the repo and recreate it. I doubt that will fly in a production env.
      Less (but still) annoying workaround is to change the port 1 number and make your changes then edit it back up and save again.

      I did not check older NX3 at this time but I suspect this is regression caused by a too tight NEXUS-9572.
      No docker in NX2 so no test needed there. Debug was off during this test.

      From nexus.log

      2016-03-22 13:52:34,086-0400 WARN [qtp872875942-278] admin org.sonatype.nexus.repository.docker.internal.DockerConnectorFacetImpl - Validation failed; 1 constraints violated:
      1) Port is already in use, type: class org.sonatype.nexus.validation.ConstraintViolationFactory$HelperBean, property: attributes.docker.httpsPort, value: org.sonatype.nexus.validation.ConstraintViolationFactory$HelperBean@2967a181

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jtom Joe Tom
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title