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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • docker image jenkinsci/jenkins:2.0-beta-1

    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
          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 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 ]

          Daniel will investigate.

          swashbuck1r Spike Washburn added a comment - Daniel will investigate.
          danielbeck Daniel Beck made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          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 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 -
          Component/s git-plugin [ 15543 ]
          Component/s core [ 15593 ]
          Assignee Daniel Beck [ danielbeck ] Mark Waite [ markewaite ]
          Summary Jenkins 2.0 - 'X' on required conf elements Git Plugin allows removing the last repository entry on the config screen
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Status In Progress [ 3 ] Open [ 1 ]

          not specific 2.x but annoying ...

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

          Fixed in git plugin 2.5.1 and later

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

          People

            Unassigned Unassigned
            mslusarczyk Michal Slusarczyk
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: