stable

Clone or download

Read-only

Refactoring: split ArtifactLinkValueSaver

Part of story #8833: show, import and manipulate links For better SRP, move save of value in its own specific class. Change-Id: I80f3a712d524e391017e1db8ba3d609cec094bd7

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaver.php +4 −147 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/SubmittedValueConvertor.php +202 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +12 −4 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaverTest.php +2 −94 Go to diff View file
A plugins/tracker/tests/Tracker/FormElement/Field/ArtifactLink/SubmittedValueConvertorTest.php +108 −0 Go to diff View file
M src/common/autoload.php +2 −3 Go to diff View file