stable

Clone or download

Read-only

Import/Export comment criterion in XML

This is part of story #10325 search in artifact comments from classic view The XML content for the comment criterion is like: <criterias> <criteria> ... </criteria> <additional_criteria name="comment"> <value><![CDATA[string to search]]></value> </additional_criteria> </criterias> This must be set in the <report> tag of a tracker. The Tracker XML import can be done with and without this new XML tag. Change-Id: Ife7c4cb3170a50006ea2c139eb004cb3067da832

Modified Files

Name
A plugins/tracker/include/Tracker/Report/AdditionalCriteria/AdditionalCriteriaFactory.php +39 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/AdditionalCriteria/AdditionalCriterionXMLExporter.php +45 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +35 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php +43 −4 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
A plugins/tracker/tests/Tracker/Report/AdditionalCriteria/AdditionalCriterionXMLExporterTest.php +46 −0 Go to diff View file
M plugins/tracker/tests/Tracker_ReportFactoryTest.php +10 −2 Go to diff View file
M plugins/tracker/tests/_fixtures/TestTracker-1.xml +3 −0 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rnc +6 −1 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rng +13 −0 Go to diff View file
M src/common/xml/resources/project/tracker-definition.rng +13 −0 Go to diff View file