Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10513

Do not rely on returned data from POST request on Quality Gate page

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Web
    • Labels:
      None

      Description

      We should not rely on the data returned from :

      • api/qualitygates/copy
      • api/qualitygates/create
      • api/qualitygates/update_condition
      • api/qualitygates/create_condition

      It might eventually be dropped someday, see SONAR-10161.

      We should always call api/qualitygates/list to update the quality gates list and api/qualitygates/show to update the displayed Quality Gate. (We should also drop the redux store for Quality Gates)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gregoire.aubert Gregoire Aubert
                Reporter:
                gregoire.aubert Gregoire Aubert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: