View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010426 | CDash | public | 2010-03-17 02:20 | 2010-04-16 13:38 | |||||
Reporter | Stanislaw Szymczyk | ||||||||
Assigned To | Julien Jomier | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 1.6.4 | |||||||
Summary | 0010426: ClientJobSchedule::Save fails because of missing client_jobschedule table columns | ||||||||
Description | While trying to get the new integrated build management feature working in CDash 1.6.2 I noticed that scheduling a build always ends whith the following error message: [2010-03-17T07:01:05][ERROR](ClientJobSchedule::Save): SQL error: Unknown column 'repository' in 'field list' After inspecting models/clientjobschedule.php and cdash database I noticed that several columns used in ClientJobSchedule::Save method are missing in client_jobschedule database table: repository, module, buildnamesuffix, tag. The missing columns are only added by backwardCompatibilityTools.php when upgrading a database schema to 1.6, they are not present in sql/mysql/cdash.sql nor sql/pgsql/cdash.sql, so freshly created database doesn't contain them. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0019974) Julien Jomier (manager) 2010-03-21 10:46 |
Good catch. Here's the complete table. I'm going to add an upgrade for CDash 1.8. Regretfully CDash 1.6 would have to be reinstalled from scratch for this to work. CREATE TABLE IF NOT EXISTS client_jobschedule ( `id` bigint(20) unsigned NOT NULL auto_increment, `userid` int(11) default NULL, `projectid` int(11) default NULL, `cmakecache` mediumtext NOT NULL, `startdate` timestamp NOT NULL default '1980-01-01 00:00:00', `enddate` timestamp NOT NULL default '1980-01-01 00:00:00', `type` tinyint(4) NOT NULL, `starttime` time NOT NULL default '00:00:00', `repeattime` decimal(3,2) NOT NULL default '0.00', `enable` tinyint(4) NOT NULL, `lastrun` timestamp NOT NULL default '1980-01-01 00:00:00', `repository` varchar(512) default '', `module` varchar(255) default '', `buildnamesuffix` varchar(255) default '', `tag` varchar(255) default '', UNIQUE KEY `id` (`id`), KEY `userid` (`userid`), KEY `projectid` (`projectid`), KEY `enable` (`enable`), KEY `starttime` (`starttime`), KEY `repeattime` (`repeattime`) ); |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-03-17 02:20 | Stanislaw Szymczyk | New Issue | |
2010-03-21 10:23 | Julien Jomier | Status | new => assigned |
2010-03-21 10:23 | Julien Jomier | Assigned To | => Julien Jomier |
2010-03-21 10:46 | Julien Jomier | Note Added: 0019974 | |
2010-03-21 10:46 | Julien Jomier | Status | assigned => resolved |
2010-03-21 10:46 | Julien Jomier | Fixed in Version | => 1.8 |
2010-03-21 10:46 | Julien Jomier | Resolution | open => fixed |
2010-04-16 13:38 | Julien Jomier | Status | resolved => closed |
2010-04-16 13:38 | Julien Jomier | Fixed in Version | 1.8 => 1.6.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |