stable
Clone or download
Read-only
fix: request #39731: Widget having renderers from another project should not be in the XML export
Widget having renderers from another project should not be in the XML export. It leads to error during import. Took the opportunity to remove as well widgets that target a renderer in a tracker marked as deleted, or renderer in a private report. Change-Id: I7a1cf52111c534fd181843e125a27adcf670044f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Widget/Tracker_Widget_ProjectRenderer.class.php | +16 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Builders/ReportTestBuilder.php | +75 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Widget/Tracker_Widget_ProjectRendererTest.php | +59 | −4 | Go to diff View file |
M | tests/lib/Builders/UserTestBuilder.php | +1 | −1 | Go to diff View file |