stable

Clone or download

Read-only

Save nature in database

Part of story #8833: show, import and manipulate links Whenever I choose a nature for the new artifact links, it should be saved in the database. If I choose a nature and put a artifact id that is already present in the links, then its nature won't change. To check: * Update classic artifact links (add, remove) * Update artifact links in a tracker hierarchy context (in both direction: link a user story to its task or a task to its user story) * AgileDashboard Scrum: add sub milestones, add children for backlog items, ... * XML import * REST POST/PUT artifacts/:id * Copy artifact with children Change-Id: Ied2c31e6d92515538449cc897d237c24f3be2ff9

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactLinkInfo.class.php +32 −19 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaver.php +142 −80 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php +1 −2 Go to diff View file
M plugins/tracker/tests/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkValueSaverTest.php +65 −30 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ArtifactLinkTest.php +17 −9 Go to diff View file