View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007861CDashpublic2008-10-27 13:472009-02-01 17:22
ReporterThe HighHat 
Assigned ToJulien Jomier 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.2.2 
Target VersionFixed in Version1.4 
Summary0007861: Upgrade from 1.0.2 to 1.2.1 breaks Groups
DescriptionSuccessfully using CDash 1.0.2 to store test results submitted via shell scripts (not CMake) for several months. CDash on RHEL 5.x, apache, w/mysql.

Upgraded to 1.2.1 via svn checkout. Manually edited config.php. Copied /backup/ folder contents.

Visited CDash URL. Logged in as admin. Updated db.

Summary page shows the correct project names, number of submissions, and db size.

Selected a project.

The default groups, Nightly Continuous & Experimental, and all custom groups are missing. From the main project page.

Using admin panel, tried to Manage Groups. No groups names appear.

Tried to recreate group Nightly. No error, but the "new" group does not appear.

Minor panic.

---

Pointed browser to old CDash 1.0.2 page. Again, shows the correct project summaries. Selected a project and see that all the data is there. The group names are correct.

---

Secondary issue: It is possible to create a new group that has the same name as a default group. Due to steps above, I now have 2 groups named "Nightly". Only one has data. The other Nightly cannot be deleted from the Manage Groups page.

It can probably be deleted from db manually, I know.

---

Questions:

1. Why are the default group names missing on the project page?
2. How to delete a custom group with the same name as default group?

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0013942)
Julien Jomier (manager)
2008-10-27 13:56

This is strange. We have changed the default date/time for groups.

Could you try to run the script:

  http://mycdashurl/backwardCompatibilityTools.php?upgrade-1-2=1 [^]

Otherwise if you have access to the database (phpmyadmin or something similar), change the starttime and endtime of the group to '1980-01-01 00:00:00' and same for the groupposition table.

let me know if that works.
(0013945)
The HighHat (reporter)
2008-10-27 15:06

Excellent.

Yes, the script appears to have fixed the problem.

Thank you for the quick response.
(0013946)
The HighHat (reporter)
2008-10-27 15:07

However, the duplicate group name issue persists. I am still unable to delete. But this probably should be a separate bug report.
(0013949)
Julien Jomier (manager)
2008-10-27 15:54

I think we should put a fix to avoid creating a group with a name "Nightly" "Experimental" and "Continuous". The only way to fix your duplicates is to remove the duplicate groups in the database directly (tables group and groupposition).
(0014749)
Julien Jomier (manager)
2009-02-01 17:22

The duplicates of group is fixed. Now you cannot add a group named "Nightly", "Experimental" or "Continuous". Thanks for the report!

 Issue History
Date Modified Username Field Change
2008-10-27 13:47 The HighHat New Issue
2008-10-27 13:51 Julien Jomier Status new => assigned
2008-10-27 13:51 Julien Jomier Assigned To => Julien Jomier
2008-10-27 13:56 Julien Jomier Note Added: 0013942
2008-10-27 15:06 The HighHat Note Added: 0013945
2008-10-27 15:07 The HighHat Note Added: 0013946
2008-10-27 15:54 Julien Jomier Note Added: 0013949
2009-02-01 17:22 Julien Jomier Note Added: 0014749
2009-02-01 17:22 Julien Jomier Status assigned => closed
2009-02-01 17:22 Julien Jomier Resolution open => fixed
2009-02-01 17:22 Julien Jomier Fixed in Version => 1.4


Copyright © 2000 - 2018 MantisBT Team