Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11974

trying to approve already approved changeset results in JSON message shown as error (BB-14706)

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Open some changeset in two tabs.
      2. In one tab, approve it.
      3. Try to approve it also in another tab (without refreshing the page)

      Expected result

      "You already approved this changeset." error message is shown and the page allows me to unapprove the changeset.

      Actual result

      I see a JSON message:

      #!javascript
      
      {"error": {"message": "You already approved this changeset."}}
      


      Also, the "Approve" button is disabled and there is a spinner left spinning on it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: