stable

Clone or download

Read-only

User should not be able to add shared field on non active projects

part of story #12160 - have a clean way to suspend a project How to test it: - try to add a shared field who belongs to a suspended project => an error message is displayed - add a shared field, then suspend its project => field works as usual (report, Xtracker, graphs, csv export, semantics, agiledashboard) Change-Id: I7fda9d9c2fb701928d0e307d3d43df9f5390fdf7

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_SharedFormElementFactory.class.php +23 −5 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Tracker_SharedFormElementFactoryTest.php +326 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +5 −0 Go to diff View file
D plugins/tracker/tests/Tracker_SharedFormElementFactoryTest.php +0 −226 Go to diff View file