View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011711 | CDash | (No Category) | public | 2011-01-17 05:05 | 2012-01-17 09:50 | ||||
Reporter | Michael Wild | ||||||||
Assigned To | Julien Jomier | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.8 | ||||||||
Target Version | Fixed in Version | 2.0 | |||||||
Summary | 0011711: cdash/createRSS.php creates invalid RSS output | ||||||||
Description | The RSS feed created by CDash does not validate and has several other issues. Errors: - The <pubDate> element requires a RFC822 formatted date - The <dc:date> element a W3C formatted date. Issues: - Do not provide both, <pubDate> and <dc:date> - A <guid> element in each <item> would allow feed readers to identify items uniquely. - A <atom:link href="..." rel="self"> element would allow a cached feed to refer back to itself. | ||||||||
Steps To Reproduce | See e.g. the W3C validator here for an example (the CMake dashboard): http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fcdash.org%2FCDash%2Frss%2FSubmissionRSSCMake.xml [^] | ||||||||
Additional Information | Since CDash requires PHP 5.2 you can use date(DATE_W3C) for the <dc:date> and date(DATE_RFC822) for the <pubDate> elements, respectively. Also, adding a <guid> element (e.g. "$currentURI/buildSummary.php?buildid=$buildid" should fit the bill) would be nice to feed readers so they can distinguish items uniquely. Adding the <atom:link href="..." rel="self"> element is trivial, just requires a namespace declaration. See http://validator.w3.org/feed/docs/warning/MissingAtomSelfLink.html [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0024732) Michael Wild (reporter) 2011-01-17 05:16 |
Attached patch (against current trunk) fixes the issue. |
(0028340) Julien Jomier (manager) 2012-01-17 09:50 |
Should be fixed in CDash 2.0. Thanks a lot for the clear bug report! |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-17 05:05 | Michael Wild | New Issue | |
2011-01-17 05:16 | Michael Wild | Note Added: 0024732 | |
2012-01-17 09:40 | Julien Jomier | Assigned To | => Julien Jomier |
2012-01-17 09:40 | Julien Jomier | Status | new => assigned |
2012-01-17 09:40 | Julien Jomier | Product Version | => 1.8 |
2012-01-17 09:50 | Julien Jomier | Note Added: 0028340 | |
2012-01-17 09:50 | Julien Jomier | Status | assigned => resolved |
2012-01-17 09:50 | Julien Jomier | Fixed in Version | => 2.0 |
2012-01-17 09:50 | Julien Jomier | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |