stable
Clone or download
Another monster field as we like them. In apperance everything is fine fixVersions and versions, that's multiselectbox fields with values & all. But the tricky beast is in the management of history. It's not at all handeled like a regular multiselect value. Whenever you add a new version it's {from: null, to: "10013"}, the from is null even if there where versions already defined. On the contrary, removing a version is mapped with {from: "10003", to: null} and, again, when you encounter that it doesn't mean that last version was removed but only that version 10003 was removed... As this completly change the way history is rebuilt, I decided that at this stage it was not worth it. This patch comes with a new fixture that highlight the versions manipulations. Closes request #24223 Jira import should take versions into account Change-Id: Ib07c5a231f001fe74b2d05aaff3ac0cb3a20aca3
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/jira_import/include/Project/ReplayImportCommand.php | +6 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php | +6 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php | +7 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapper.php | +14 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilderTest.php | +38 | −4 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php | +103 | −5 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php | +9 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Structure/JiraToTuleapFieldTypeMapperTest.php | +28 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/1792ceabcf8d1b6e0eb6eeb678fb5c9141a3fec4 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/3150d3c6052884dfb394cb331079392ba7efc43b | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/3a48d6e1db3cdeb9c0a8a9a115c87da71b1518cc | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/426637cb58ad865431f2c576525c936476da738c | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/511913218f7a8eaacfe37ff479cc8bfa597b5745 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/6b68066a26400900ed98e86de2b788d9282ea831 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/788ef9a71944e2cb68600c30dc3518c2b648f81f | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/87d8681d58d563b02afe8388fc92fbc7a891b98e | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/8fceb3bc2575602f8260e7f4e241c82e3a783940 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/c1e8feb1fbaccf99143de8b2afc089d6c97798a7 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/c2d7e4448f1703e36da963b1d5161ea5ef843621 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/e59eaddb00e1a43b3148e4630f900977bbaf9da4 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/e5e936f7a131ed9d8c7a0d670a0468f125efac05 | +1 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/manifest.log | +13 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/IE/tracker.xml | +630 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/tracker.xml | +41 | −0 | Go to diff View file |