stable

Clone or download

Read-only

Computed value is transformed as manual value in XML archive

This is part of story #11342 have a base REST route to move id, title, description While archiving an artifact after deletion, each computed fields that are in computed mode in the last changeset are transformed into manual values. Computed fields that already are in manual value are not added in last changeset. This allow us to store this value in archive after deleting an artifact. Nothing changes in XML export for artifact copy and project export. In addition, this patch provides few bug fixes for tracker export only using the project export tool. Change-Id: I1e6712f5a05a77d84b934aba2f3c6dea35bbc7bf

Modified Files

Name
M plugins/mediawiki/include/mediawikiPlugin.class.php +4 −0 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +1 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +1 −23 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +14 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue.class.php +8 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLExport.php +45 −4 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +12 −5 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ArtifactXMLExporterBuilder.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueComputedXMLExporter.php +92 −6 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueFileXMLExporter.class.php +0 −20 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueXMLExporter.class.php +20 −0 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValuesXMLExporter.class.php +32 −5 Go to diff View file
M plugins/tracker/include/TrackerXmlExport.class.php +3 −4 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Exporter/ChangesetValue/ChangesetValueComputedXMLExporterTest.php +55 −5 Go to diff View file
M plugins/tracker/tests/Tracker/XML/Exporter/ChangesetValuesXMLExporterTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +13 −2 Go to diff View file