Sonar

Uprade DB error when migrating on Sonar 1.9, metric "classes" already exists

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.1
  • Component/s: Database, Metrics
  • Labels:
    None
  • Number of attachments :
    0

Description

see the thread of discussions on the sonar mailing list.

An error has occurred, all later migrations canceled:

ActiveRecord::ActiveRecordError: Duplicate entry 'classes' for key 'metrics_unique_name': UPDATE `metrics` SET `name` = 'classes' WHERE `id` = 35
RAILS_ROOT: C:\Tomcat 6.0.18/webapps/sonar/WEB-INF

we don't currently manage to understand why this metric is here.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: