stable
Clone or download
Read-only
part of story #32280 Complete the "move artifact" feature How to test: - Have three open open-list fields, each one having a different bind type - Have these same open-list fields in the destination tracker - Create an artifact, add them some values, then submit - Move the artifact --> The dry run steps puts them in the "fields which will be migrated". - Confirm --> The values are migrated when there are matching values in the destination tracker. Change-Id: I0a7d27556a6651880a0b4c4f3293094961607e84
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/REST/v1/ArtifactsResource.class.php | +21 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Action/DryRunDuckTypingFieldCollector.php | +24 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/OpenListFieldVerifier.php | +31 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/OpenListFieldsCompatibilityVerifier.php | +31 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/UserGroupOpenListFieldVerifier.php | +35 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/VerifyIsOpenListField.php | +26 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/VerifyIsUserGroupOpenListField.php | +26 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Action/VerifyOpenListFieldsAreCompatible.php | +29 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindUgroupsValueDao.php | +90 | −68 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/SearchUserGroupsValuesByFieldIdAndUserGroupId.php | +26 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/SearchUserGroupsValuesById.php | +26 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.php | +5 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLDuckTypingUpdater.php | +25 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLUpdater.php | +1 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/XML/Updater/OpenListUserGroupsByDuckTypingUpdater.php | +98 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/XML/Updater/UpdateOpenListUserGroupsByDuckTyping.php | +28 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Builders/TrackerFormElementOpenListBuilder.php | +183 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/SearchUserGroupsValuesByFieldIdAndUserGroupIdStub.php | +59 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/SearchUserGroupsValuesByIdStub.php | +59 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/VerifyIsOpenListFieldStub.php | +47 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/VerifyIsUserGroupOpenListFieldStub.php | +47 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Stub/VerifyOpenListFieldsAreCompatibleStub.php | +49 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Action/DryRunDuckTypingFieldCollectorTest.php | +115 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Action/OpenListFieldVerifierTest.php | +46 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Action/OpenListFieldsCompatibilityVerifierTest.php | +55 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Action/UserGroupOpenListFieldVerifierTest.php | +54 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_UgroupsTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/XML/Updater/BindValueForDuckTypingUpdaterTest.php | +1 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/XML/Updater/MoveChangesetXMLDuckTypingUpdaterTest.php | +52 | −6 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/XML/Updater/OpenListUserGroupsByDuckTypingUpdaterTest.php | +199 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/XML/Updater/_fixtures/bugs_artifact.xml | +13 | −0 | Go to diff View file |