stable

Clone or download

Read-only

request #22202 Time out when a loop is created on tracker hierarchy

To reproduce : have 3 trackers create a hierarchy : tracker_1 > tracker_2 > tracker_3 > tracker_1 --> related trackers are not accessible anymore This patch prevent the 504 error and do not allow to take a tracker which is already in hiearhy as child. Change-Id: I35ef359873cd5294135708e7cdfe13d0ca72a12b

Modified Files

Name
M plugins/tracker/include/Tracker/Hierarchy/HierarchicalTrackerFactory.class.php +8 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/HierarchicalTrackerFactoryTest.php +7 −2 Go to diff View file