View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012218CDashpublic2011-05-23 17:592012-01-17 08:53
ReporterBrad King 
Assigned ToJulien Jomier 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.0 
Summary0012218: Update command fails to parse if it contains XML escaped quotes
DescriptionThe attached UpdateBad.xml contains this:

  <UpdateCommand>&quot;/usr/bin/git&quot; &quot;pull&quot;</UpdateCommand>

but the command displayed on this page:

  http://www.cdash.org/CDash/buildSummary.php?buildid=1155512 [^]

is just:

  Update Command: "
TagsNo tags attached.
Attached Filesxml file icon UpdateBad.xml [^] (559 bytes) 2011-05-23 17:59
xml file icon UpdateGood.xml [^] (606 bytes) 2011-05-23 17:59

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0026574)
Brad King (manager)
2011-05-23 18:00

If the update command has literal double quotes instead of escaped ones, as in the attached UpdateGood.xml, then the page displays the update command correctly.
(0028336)
Julien Jomier (manager)
2012-01-17 08:53

The XML parser stops when it encouters ';' therefore we need to concatenate the result.

- Issue History
Date Modified Username Field Change
2011-05-23 17:59 Brad King New Issue
2011-05-23 17:59 Brad King File Added: UpdateBad.xml
2011-05-23 17:59 Brad King Description Updated View Revisions
2011-05-23 17:59 Brad King File Added: UpdateGood.xml
2011-05-23 18:00 Brad King Note Added: 0026574
2011-05-23 18:02 David Cole Assigned To => David Cole
2011-05-23 18:02 David Cole Status new => assigned
2012-01-17 08:52 Julien Jomier Assigned To David Cole => Julien Jomier
2012-01-17 08:53 Julien Jomier Note Added: 0028336
2012-01-17 08:53 Julien Jomier Status assigned => resolved
2012-01-17 08:53 Julien Jomier Fixed in Version => 2.0
2012-01-17 08:53 Julien Jomier Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker