stable

Clone or download

Read-only

feat: Prevent XML import of calendar event if inherited

Follow up to git #tuleap/stable/5145aeaa793f7f6ee4aa50d8554cd4ef220752de When the XML import detects that user is trying to import a tracker with calendar events option whereas its timeframe is based on another tracker, then the import should fails. To test you can copy the /var/tmp/tuleap_cache/agile_alm_template and edit the project.xml to add `should_send_event_in_notification="1"` attribute on User Stories tracker definition. (You can use tools/utils/setup_templates/agile_alm/users.xml during the import) Part of story #35094: have "calendar" events attached to tracker email notification Change-Id: I61ec66c72b3bb7893942b04f7e6eae8bb551cf03

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreationNotificationsSettingsFromXmlBuilder.php +7 −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/pt_BR/LC_MESSAGES/tuleap-tracker.po +5 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/TrackerCreationNotificationsSettingsFromXmlBuilderTest.php +29 −0 Go to diff View file