stable

Clone or download

Read-only

fix: Stop considering empty list fields "not migrateable"

part of story #32280 Complete the "move artifact" feature How to test: - When a list field is empty, and there is a compatible list field in the destination tracker --> It should not be considered "not migrateable" Change-Id: I17a5892db8adacf1620a88b3aad6a1565264c953

Modified Files

Name
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +2 −6 Go to diff View file
R plugins/tracker/include/Tracker/Action/VerifyStaticListFieldsAreCompatible.php Go to diff View file
D plugins/tracker/include/Tracker/Action/AreStaticListFieldsCompatibleVerifier.php +0 −50 Go to diff View file
D plugins/tracker/include/Tracker/Action/AreUserFieldsCompatibleVerifier.php +0 −49 Go to diff View file
D plugins/tracker/include/Tracker/Action/AreUserGroupFieldsCompatibleVerifier.php +0 −46 Go to diff View file
M plugins/tracker/include/Tracker/Action/DryRunDuckTypingFieldCollector.php +8 −10 Go to diff View file
R plugins/tracker/include/Tracker/Action/VerifyUserFieldsAreCompatible.php Go to diff View file
D plugins/tracker/include/Tracker/Action/VerifyUserGroupFieldsAreCompatible.php +0 −28 Go to diff View file
M plugins/tracker/tests/unit/Builders/TrackerFormElementListStaticBindBuilder.php +1 −1 Go to diff View file
R plugins/tracker/tests/unit/Stub/VerifyUserGroupFieldsAreCompatibleStub.php Go to diff View file
D plugins/tracker/tests/unit/Stub/VerifyStaticListFieldsAreCompatibleStub.php +0 −48 Go to diff View file
D plugins/tracker/tests/unit/Stub/VerifyUserFieldsAreCompatibleStub.php +0 −48 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Action/AreListFieldsCompatibleVerifierTest.php +89 −0 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Action/AreStaticListFieldsCompatibleVerifierTest.php +0 −133 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Action/AreUserFieldsCompatibleVerifierTest.php +0 −129 Go to diff View file
D plugins/tracker/tests/unit/Tracker/Action/AreUserGroupFieldsCompatibleVerifierTest.php +0 −128 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/DryRunDuckTypingFieldCollectorTest.php +20 −60 Go to diff View file