Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13875

Clearing the 'key label' and hitting 'save' when in edit SSH key mode gives the user a 500

    XMLWordPrintable

Details

    Description

      Issue Summary

      This is reproducible on Data Center: (yes)

       

      See Loom Video for example of the issue

      Steps to Reproduce

      1. (Create flow) Add New Key CTA
        1. Paste in SSH key fingerprint
        2. Leave Key Label blank
        3. Hit 'Save'
      1. (Edit flow) Select the key you just created
        1. Click the link directly
        2. Clear the 'key label' input field
        3. Hit 'Save'

      Expected Results

      Its expected that if a user clears the key label, and hits save - it should direct the user back to SSH keys home, with the email address pre-filled in the title. Much like in the create flow.

      Actual Results

      Refer to the attached for the error presented

      500 Oops, an error occurred Please see your system administrator.

      Workaround

      Let's use the same logic in the create flow. I.e - if a user clears the input field and hits 'save' the Key Label will be the previously pre-filled email address.

      Note: This experience may require a revamp later down the track, however the above workaround will suffice.

      Attachments

        Activity

          People

            744c7388e89a Jemma Zhang
            991e977af78d Emma Wilkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: