stable

Clone or download

Read-only

Artifact link type _is_child cannot be unused anymore

This is part of story #18857 define any type of artifact as children The artifact link type _is_child is always enable in projects and cannot be unused. I wanted to extract the method artifactLinkTypeCanBeUnused in a dedicated and unit tested object. However, I don't find any good name for such an object. Change-Id: I321f88dca62cffc9fd0b5ae06baad70b551d7e21

Modified Files

Name
A plugins/tracker/db/mysql/updates/2021/202101190954_enable_is_child_in_all_project.php +45 −0 Go to diff View file
M plugins/tracker/include/Tracker/Admin/GlobalAdmin/ArtifactLinks/ArtifactLinksController.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Events/ArtifactLinkTypeCanBeUnused.php +7 −19 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/HierarchyController.php +1 −21 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/HierarchyDAO.php +0 −6 Go to diff View file
M plugins/tracker/include/Tracker/Hierarchy/Presenter.class.php +0 −29 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +0 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +3 −8 Go to diff View file
M plugins/tracker/templates/admin-hierarchy.mustache +48 −57 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/ControllerTest.php +0 −30 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/HierarchyControllerTest.php +0 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/PresenterTest.php +0 −1 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +0 −21 Go to diff View file