MantisBT - CDash
View Issue Details
0010212CDashpublic2010-02-01 02:492011-11-06 15:43
Rolf Eike Beer 
Julien Jomier 
normalmajoralways
resolvedfixed 
1.7 
1.6 
0010212: Project summary page broken with PostgreSQL and missing submissions
When I have builds marked as expected that did not submit I get this:

http://.../index.php?project=foobar [^]

Fatal error: Call to a member function fetch() on a non-object in /.../cdash/cdash/pdo.php on line 121

When I put 'return "";' in add_expected_builds() before the while loop it works (without the missing builds, of course).

Version is svn r2202
No tags attached.
Issue History
2010-02-01 02:49Rolf Eike BeerNew Issue
2010-02-01 11:24Julien JomierStatusnew => assigned
2010-02-01 11:24Julien JomierAssigned To => Julien Jomier
2010-02-01 13:03Julien JomierNote Added: 0019409
2010-02-01 13:03Julien JomierStatusassigned => resolved
2010-02-01 13:03Julien JomierFixed in Version => 1.6
2010-02-01 13:03Julien JomierResolutionopen => fixed
2010-02-02 02:46Rolf Eike BeerNote Added: 0019424
2010-02-02 02:46Rolf Eike BeerStatusresolved => feedback
2010-02-02 02:46Rolf Eike BeerResolutionfixed => reopened
2010-02-02 08:28Julien JomierNote Added: 0019428
2010-02-03 02:01Rolf Eike BeerNote Added: 0019450
2010-02-03 11:20Rolf Eike BeerNote Added: 0019451
2011-11-06 15:43Julien JomierStatusfeedback => resolved
2011-11-06 15:43Julien JomierResolutionreopened => fixed

Notes
(0019409)
Julien Jomier   
2010-02-01 13:03   
Should be better now, otherwise let me know. The problem is that PGSQL doesn't support some of the MYSQL date/time functions
(0019424)
Rolf Eike Beer   
2010-02-02 02:46   
Now I get these:

Warning: pg_set_client_encoding(): supplied argument is not a valid PostgreSQL link resource in /srv/www/code.ma.silicon-software.de/htdocs/cdash/cdash/pdo.php on line 294
(0019428)
Julien Jomier   
2010-02-02 08:28   
We have fixed the encoding yesterday and apparently broke it on pgsql. We are looking into it.
(0019450)
Rolf Eike Beer   
2010-02-03 02:01   
Now (r2218) changed to:

Warning: pg_set_client_encoding() [function.pg-set-client-encoding]: No PostgreSQL link opened yet in /.../cdash/cdash/pdo.php on line 294
(0019451)
Rolf Eike Beer   
2010-02-03 11:20   
Seems fixed with r2219