MantisBT - CDash
View Issue Details
0007805CDashpublic2008-10-13 14:452008-10-13 17:34
Todd Harrington 
Julien Jomier 
normalmajoralways
closedfixed 
1.2 
1.4 
0007805: The same image can't have multiple roles for a given test
When migrating from dart2 to cdash we found that some of our image data did not show up on the cdash test pages. After investigating we found this was because cdash did not support showing the same image multiple times for a test.

We have a rendering engine we have set up many regression tests for. Those tests submit the regression image (expected result), the current test output image, and a difference image. When the test passes, the regression and test ouput image are actually the same (that's a good thing). However, one of them is not shown.

This problem was very easy to fix. It just required a simple change to the test2image table. Instead of keying on both the imgid and testid which restricts an image to only having one role per test, I removed those keys and added an auto increment id key for the table. That allows [imgid,testid] pairs to have multiple roles and solved the problem we were having. No changes to the code were required.

No tags attached.
Issue History
2008-10-13 14:45Todd HarringtonNew Issue
2008-10-13 17:33Julien JomierStatusnew => assigned
2008-10-13 17:33Julien JomierAssigned To => Julien Jomier
2008-10-13 17:34Julien JomierStatusassigned => closed
2008-10-13 17:34Julien JomierNote Added: 0013867
2008-10-13 17:34Julien JomierResolutionopen => fixed
2008-10-13 17:34Julien JomierFixed in Version => 1.4

Notes
(0013867)
Julien Jomier   
2008-10-13 17:34   
This one will be fixed in the 1.4 release. Thanks for the report.