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

Misleading message when one of several web service parameters are required

    XMLWordPrintable

    Details

      Description

      For example, when no metricId or metricKey is provided in /api/custom_measures/create, the following message is returned :

      The metric id or the metric key must be provided, not both.
      

      It's misleading, as no metric parameter has been given. The error message should be updated to something like

      Either metric id or the metric key must be provided
      

      The goal is to improve all error message that have this form.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: