•  
      request #42178 tracker reminder can end in fatal error when notification is set over role
    Infos
    #42178
    Marie Ange Garnier (marieange)
    2025-02-27 14:32
    2025-02-26 11:24
    43854
    Details
    tracker reminder can end in fatal error when notification is set over role

     

    When I add a new date reminder, the whole Date Reminder block disappear entirely from the admin page !

     

    Fatal error: Uncaught TypeError: UGroupDao::searchByUGroupId(): Argument #1 ($ugroup_id) must be of type int, string given, called in /usr/share/tuleap/src/common/Project/UGroupManager.php on line 319 and defined in /usr/share/tuleap/src/common/dao/UGroupDao.php:30 Stack trace: #0 /usr/share/tuleap/src/common/Project/UGroupManager.php(319): UGroupDao->searchByUGroupId() #1 /usr/share/tuleap/plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminder.php(350): UGroupManager->getById() #2 /usr/share/tuleap/plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminderRenderer.php(476): Tracker_DateReminder->getUgroupsLabel() #3 /usr/share/tuleap/plugins/tracker/include/Tracker/DateReminder/Tracker_DateReminderRenderer.php(538): Tracker_DateReminderRenderer->displayAllReminders() #4 /usr/share/tuleap/plugins/tracker/include/Tracker/Tracker_NotificationsManager.php(130): Tracker_DateReminderRenderer->displayDateReminders() #5 /usr/share/tuleap/plugins/tracker/include/Tracker/Notifications/Settings/Administration/NotificationsAdminSettingsDisplayController.php(75): Tracker_NotificationsManager->displayTrackerAdministratorSettings() #6 /usr/share/tuleap/src/common/Request/FrontRouter.php(251): Tuleap\Tracker\Notifications\Settings\NotificationsAdminSettingsDisplayController->process() #7 /usr/share/tuleap/src/common/Request/FrontRouter.php(109): Tuleap\Request\FrontRouter->routeHandler() #8 /usr/share/tuleap/src/www/index.php(50): Tuleap\Request\FrontRouter->route() #9 {main} thrown in /usr/share/tuleap/src/common/dao/UGroupDao.php on line 30

     

    Campagne Tuleap 16.5 - Non regression
    Résumé du test Tracker reminder
    Description du test

    Be a tracker admin

    Trackers
    16.4
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2025-02-26
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Category set to Trackers
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Connected artifacts