stable
Clone or download
Read-only
fix: Close request #11713 Date reminder shall be suspended if the artifact is closed already
A new option is added by reminder to suspend reminder sending if the artifact is already closed. How to test ----------- * Go to a tracker with a status semantic defined. * Add a new date reminder on this tracker and disallow sending for closed artifacts. * Close one artifact (A) that will match the reminder. * Keep another one (B) open * Wait for the reminder to be sent => The reminder must only be sent to (B) Note: This code needs a lot of refactoring to be well tested. It will be done in a dedicated request if nedded. Change-Id: I56ed288dfb85e7c18c7066fdbdd3c75381ed4293
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/tracker/db/mysql/updates/2023/202302161403_reminder_on_closed_artifacts.php | +37 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/DateReminder/DateReminderDao.php | +6 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminder.class.php | +6 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminderFactory.class.php | +32 | −16 | Go to diff View file |
M | plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminderManager.class.php | +10 | −9 | Go to diff View file |
M | plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminderRenderer.class.php | +86 | −14 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +14 | −0 | Go to diff View file |
M | plugins/tracker/site-content/pt_BR/LC_MESSAGES/tuleap-tracker.po | +13 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/DateReminder/Tracker_DateReminderManagerTest.php | +20 | −31 | Go to diff View file |