Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33956

Git Plugin allows removing the last repository entry on the config screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
    • Environment:
      docker image jenkinsci/jenkins:2.0-beta-1
    • Similar Issues:

      Description

      Red remove button should not be visible on required elements. See screenshot.

        Attachments

          Activity

          mslusarczyk Michal Slusarczyk created issue -
          mslusarczyk Michal Slusarczyk made changes -
          Field Original Value New Value
          Labels 2.0-beta 2.0-beta ui ux
          Hide
          kzantow Keith Zantow added a comment - - edited

          I think this is also the behavior from 1.x, as it's a list of repositories. See:

          Show
          kzantow Keith Zantow added a comment - - edited I think this is also the behavior from 1.x, as it's a list of repositories. See:
          kzantow Keith Zantow made changes -
          Attachment screenshot-1.png [ 32352 ]
          swashbuck1r Spike Washburn made changes -
          Assignee Daniel Beck [ danielbeck ]
          Hide
          swashbuck1r Spike Washburn added a comment -

          Daniel will investigate.

          Show
          swashbuck1r Spike Washburn added a comment - Daniel will investigate.
          danielbeck Daniel Beck made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          danielbeck Daniel Beck added a comment -

          Looks like an issue with the Git Plugin. On 1.x, it simply has "Delete Repository" buttons that do the same.

          For comparison, Subversion Plugin removes that button when there's only one location, and Jenkins 2.0 handles this correctly.

          Show
          danielbeck Daniel Beck added a comment - Looks like an issue with the Git Plugin. On 1.x, it simply has "Delete Repository" buttons that do the same. For comparison, Subversion Plugin removes that button when there's only one location, and Jenkins 2.0 handles this correctly.
          danielbeck Daniel Beck made changes -
          Summary Jenkins 2.0 - 'X' on required conf elements Git Plugin allows removing the last repository entry on the config screen
          Component/s git-plugin [ 15543 ]
          Component/s core [ 15593 ]
          Assignee Daniel Beck [ danielbeck ] Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Hide
          aheritier Arnaud Héritier added a comment -

          not specific 2.x but annoying ...

          Show
          aheritier Arnaud Héritier added a comment - not specific 2.x but annoying ...
          Hide
          markewaite Mark Waite added a comment -

          Fixed in git plugin 2.5.1 and later

          Show
          markewaite Mark Waite added a comment - Fixed in git plugin 2.5.1 and later
          markewaite Mark Waite made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 169967 ] JNJira + In-Review [ 198749 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              mslusarczyk Michal Slusarczyk
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: