stable
Clone or download
Read-only
Given a project A with an tracker renderer AA And a project B with an tracker renderer BB And two widgets on the dashboard of project B: * One targeting the renderer AA (another project) * One targeting the renderer BB (same project) When user creates a new project C based on project B Then the dashboard of C should have two widgets: * One targeting the renderer AA (another project) * One targeting the renderer CC which is a copy of BB and belongs to project C Fix request #19338: Widget targets wrong renderer after project creation Change-Id: I92a9a0377ab70a1b11b1a00597514a0d3c5ca229
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/ServiceTracker.class.php | +3 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/TrackerCreator.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report.class.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php | +13 | −5 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report_RendererFactory.class.php | +11 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +14 | −9 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerManager.class.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/Widget/Tracker_Widget_ProjectRenderer.class.php | +59 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Widget/WidgetRendererDao.php | +75 | −0 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/TrackerCreatorTest.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/TrackerFactoryDuplicationTest.php | +58 | −16 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php | +2 | −1 | Go to diff View file |
M | src/common/Project/MappingRegistry.php | +10 | −4 | Go to diff View file |
M | tests/psalm/tuleap-baseline.xml | +5 | −0 | Go to diff View file |
M | tests/unit/common/Project/MappingRegistryTest.php | +9 | −0 | Go to diff View file |