stable

Clone or download

Read-only

Have a dedicated object to build text field changes

This is part of story #14766 Have an import from jira structure. This is a refactoring, no functional changes expected here. The aim of this refactoring is to centralize in a dedicated object the building of the XML field change node regarding text changes, for both Tuleap export and Jira import process Change-Id: I1200f007d5554012bc20314078b3a4791e4c51b5

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporter.php +14 −16 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ArtifactXMLExporterBuilder.php +7 −2 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueTextXMLExporter.class.php +18 −9 Go to diff View file
A plugins/tracker/include/Tracker/XML/Exporter/FieldChange/FieldChangeTextBuilder.php +61 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php +36 −34 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/FieldChangeXMLExporterTest.php +4 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/XML/Exporter/ChangesetValue/Tracker_XML_Exporter_ChangesetValue_ChangesetValueTextXMLExporterTest.php +8 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/XML/Exporter/FieldChange/FieldChangeTextBuilderTest.php +66 −0 Go to diff View file