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

Do not fail when reading a snapshot version which is too long

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.7
    • Fix Version/s: 6.7.3, 7.1
    • Component/s: None
    • Labels:

      Description

      When a snaphot has a version which is longer than 100 chars, several pages display will fail with the following error:

      ### Error querying database.  Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'version' of 'class org.sonar.db.component.SnapshotDto'
      

      Versions can't be created longer than 100 in 6.7, but older snapshot may have such too long versions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: