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

Unexpected 500 error when calling /api/metrics/update with long domain

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6
    • Fix Version/s: 6.7
    • Component/s: Measures, Web API
    • Labels:

      Description

      Calling /api/metrics/update with domain=<very long string> causes 500 error:

      Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(64)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                teryk.bellahsene Teryk Bellahsene (Inactive)
                Reporter:
                stas.vilchik Stas Vilchik (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: