stable

Clone or download

Read-only

Save artifact fields in a specific order

Since we need to know the id of fileinfo in order to be able to replace imgยทsrc in text fields (during artifact xml import) then we need to save file fields *before* every other fields. This has no visible change (you will have to trust the test or debug/trace the execution to ensure that file fields are saved first). Part of story #13453: finish drag'n drop images in tracker text areas Change-Id: I946e2bb394342edcc401b7b2298548049b86135f

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +9 โˆ’16 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/FieldsToBeSavedInSpecificOrderRetriever.php +69 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreatorBase.class.php +4 โˆ’3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +4 โˆ’3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +3 โˆ’2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +2 โˆ’7 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +3 โˆ’2 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +3 โˆ’2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +5 โˆ’4 Go to diff View file
A plugins/tracker/phpunit/Tracker/Artifact/Changeset/FieldsToBeSavedInSpecificOrderRetrieverTest.php +59 โˆ’0 Go to diff View file
M plugins/tracker/tests/Artifact/Changeset/InitialChangesetCreatorTest.php +3 โˆ’1 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +4 โˆ’2 Go to diff View file