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

"undefined" error message is returned when creating a project with invalid key

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Web
    • Labels:

      Description

      Here's the use case :

      • Go to Project Management page
      • Click on the Create Project button
      • Chose any name and set "123456" as key
      • Click on the Create button

      => "undefined" error message is returned, whereas the WS is returning :

      {
          "errors": [
              {
                  "msg": "Malformed key for Project: 123456. Allowed characters are alphanumeric, '-', '_', '.' and ':', with at least one non-digit."
              }
          ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              stas.vilchik Stas Vilchik (Inactive)
              Reporter:
              julien.lancelot Julien Lancelot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: