stable
Clone or download
Read-only
request #27898 Try to create new field dependencies can generate a timeout
Try to create new field dependencies can generate a timeout if there are a lot of rules. This is caused by recursive call when we check if rules are cyclics. For the fix we don't need to get all rules, we just need the involved trackers. Change-Id: I932b49293aafff3dd33276ea048c3c3ea0a928e2
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/Tracker/Rule/InvolvedFieldsInRule.php | +41 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Rule/Tracker_RuleFactory.class.php | +20 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Rule/Tracker_RulesManager.class.php | +25 | −16 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Rules/TrackerRulesManager/TrackerRulesManagerForbiddenTest.php | +117 | −111 | Go to diff View file |