Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-9340

Unable to create a branch or lightweight tag in the UI/API due to "when performing a ref operation the author must have an e-mail address" error

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • UIS:
      21
    • Support reference count:
      3
    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      Problem Definition

      For a user located in an external LDAP where email is disabled, the user is unable to create a branch in the UI or through the API. The user is also unable create a lightweight tag through the API.

      Steps to Reproduce

      • Login as a user that doesn't have an email associated
      • Create a branch within the UI

      Expected Results

      A new branch/lightweight tag should be created

      Actual Results

      User receives the following message in the UI:

       when performing a ref operation the author must have an e-mail address

      When using the API this error appears in the logs.

      Workaround

      • Add an email for the user
      • Create the branch in working directory and push to repo

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nhansberry Nathaniel Hansberry
              Votes:
              17 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated: