MantisBT - CDash | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0007853 | CDash | public | 2008-10-24 15:51 | 2008-10-29 18:32 | |
| Reporter | Todd Harrington | ||||
| Assigned To | Julien Jomier | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 1.2 | ||||
| Target Version | Fixed in Version | 1.3 | |||
| Summary | 0007853: Builds sent from differnt sites can clobber each other | ||||
| Description | The function get_build_id() does not take enough parameters to uniquely identify a build. Last night we had two sites, running on the same OS, start nightly builds at the same time. Thus there build name (OS-compiler) and build stamp (date-time-type) were identical (we are migrating to a new server, but both are running at the moment). To fix this problem I added the site name to get_build_id() and changed the DB query to: $sql = "SELECT build.id FROM build, site WHERE build.name='$buildname' AND build.stamp='$stamp' AND build.projectid='$projectid' AND build.siteid=site.id AND site.name='$sitename' ORDER BY id DESC"; $build = pdo_query($sql); Of course I also had to update all the places that called get_build_id() to include the site name in the call. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-10-24 15:51 | Todd Harrington | New Issue | |||
| 2008-10-24 15:58 | Julien Jomier | Status | new => assigned | ||
| 2008-10-24 15:58 | Julien Jomier | Assigned To | => Julien Jomier | ||
| 2008-10-29 17:50 | Julien Jomier | Note Added: 0013980 | |||
| 2008-10-29 17:50 | Julien Jomier | Status | assigned => closed | ||
| 2008-10-29 17:50 | Julien Jomier | Resolution | open => fixed | ||
| 2008-10-29 17:50 | Julien Jomier | Fixed in Version | => 1.3 | ||
| 2008-10-29 18:24 | Todd Harrington | Note Added: 0013981 | |||
| 2008-10-29 18:24 | Todd Harrington | Status | closed => feedback | ||
| 2008-10-29 18:24 | Todd Harrington | Resolution | fixed => reopened | ||
| 2008-10-29 18:32 | Julien Jomier | Note Added: 0013982 | |||
| 2008-10-29 18:32 | Julien Jomier | Status | feedback => closed | ||
| 2008-10-29 18:32 | Julien Jomier | Resolution | reopened => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||