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

When adding the column 'First Analysis' on a measure filter, an error is thrown if some projects have been analysed before 3.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 4.2
    • Component/s: Measures
    • Labels:
      None

      Description

      Here's the console error : undefined method `to_date' for nil:NilClass

      As the created_at column has been added in SonarQube 3.3 (migration 330), we should verify that its value is not null before displaying it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: