stable

Clone or download

Read-only

Artifacts from deleted trackers cannot be added in artifact links

Part of story #8833: show, import and manipulate links If you add an artifact from a deleted tracker in the artifact link field, then: * It is no more displayed in tab previsualization * The request is now invalid with a dedicated message. Change-Id: I743c9723242aac7476cf5d6034d9a112e17c09a7

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +68 −26 Go to diff View file
D plugins/tracker/include/Tracker/Tracker_Valid_Rule.class.php +0 −44 Go to diff View file
M plugins/tracker/include/autoload.php +2 −3 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +1 −0 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ArtifactLinkTest.php +76 −58 Go to diff View file