•  
      request #11539 PHP notice when reminder are sent and the reviewer do not want HTML email
    Infos
    #11539
    Karim Beji (bejim)
    2018-06-16 00:05
    2018-05-29 15:04
    11883
    Details
    PHP notice when reminder are sent and the reviewer do not want HTML email
    Hello,

    In the Docman service, when launching the daily cron to notify documents reviewers, it returns an error.
    he doesn't find a variable $html_body which is in a condition(on the code https://github.com/Enalean/tuleap/blob/d9390ff581eac472c99a876cbada81e0a5b71472/plugins/docman/include/ApprovalTable/Reminder.class.php#L163 ) .

    The cron daemon returns:

    Subject: [crolles.codex.system] Cron <codendiadm@**********> php -r 'sleep(mt_rand(0,1799)); ' && /usr/share/codendi/src/utils/php-launcher.sh /usr/share/codendi/src/utils/codendi_daily.php

    PHP Notice: Undefined variable: html_body in /usr/share/tuleap/plugins/docman/include/ApprovalTable/Reminder.class.php on line 180

    Notice: Undefined variable: html_body in /usr/share/tuleap/plugins/docman/include/ApprovalTable/Reminder.class.php on line 180

    Regards,
    Kaim
    Doc/Documentation manager
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-06-16
    Attachments
    Empty
    References
    Referencing request #11539
    Referenced by request #11539

    Artifact Tracker v5

    rel #11440 10.2

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-06-14 15:07
    Thank you for the contribution!

    gerrit #11628 integrated in Tuleap 10.1.99.152.

    • Summary
      -Bug Fix for mail notification Reminder Docman  
      +PHP notice when reminder are sent and the reviewer do not want HTML email 
    • Category changed from Doc/Wiki to Doc/Documentation manager
    • Reported in version changed from 10.0 to All
    • Connected artifacts
    • Platform cleared values: CentOS 6