stable
Clone or download
Read-only
Given a project A with an embedded document AA And a project B with an embedded document BB And two widgets on the dashboard of project B: * One targeting the document AA (another project) * One targeting the document 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 document AA (another project) * One targeting the document CC which is a copy of BB and belongs to project C Fix request #19329: Docman widget targets wrong document after project creation Change-Id: Ieb5c6cb28a21e7b607748eeb9fc81a92e491990d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/Widget/Kanban.php | +3 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Widget/ProjectCrossTrackerSearch.php | +3 | −1 | Go to diff View file |
M | plugins/docman/include/Docman_Controller.class.php | +30 | −22 | Go to diff View file |
M | plugins/docman/include/Docman_Widget_Embedded.class.php | +58 | −17 | Go to diff View file |
A | plugins/docman/include/Widget/WidgetEmbeddedDao.php | +74 | −0 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.php | +3 | −2 | Go to diff View file |
M | plugins/git/include/gitPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/graphontrackersv5/include/GraphOnTrackersV5_Widget_Chart.class.php | +3 | −1 | Go to diff View file |
M | plugins/label/include/Label/Widget/ProjectLabeledItems.php | +3 | −1 | Go to diff View file |
M | plugins/mediawiki/include/mediawikiPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/proftpd/include/proftpdPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Widget/Tracker_Widget_Renderer.class.php | +4 | −1 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.php | +1 | −1 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardDuplicator.php | +25 | −8 | Go to diff View file |
A | src/common/Project/MappingRegistry.php | +65 | −0 | Go to diff View file |
M | src/common/Project/ProjectCreator.class.php | +6 | −4 | Go to diff View file |
M | src/common/Project/Registration/RegisterProjectCreationEvent.php | +7 | −6 | Go to diff View file |
M | src/common/Widget/Note/ProjectNote.php | +3 | −1 | Go to diff View file |
M | src/common/Widget/Widget.class.php | +4 | −2 | Go to diff View file |
M | src/common/Widget/Widget_ImageViewer.class.php | +4 | −1 | Go to diff View file |
M | src/common/Widget/Widget_Rss.class.php | +4 | −2 | Go to diff View file |
M | tests/unit/common/Dashboard/Project/ProjectDashboardDuplicatorTest.php | +7 | −6 | Go to diff View file |
A | tests/unit/common/Project/MappingRegistryTest.php | +60 | −0 | Go to diff View file |