Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70731

Harcoded error in forum discuss.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.7
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      In mod/forum/discuss.php there are some hardcoded error strings, and the first one (line 48) has an undefined variable (discussionid).

      The users sometimes see this error : for example when they received a notification of a new forum post, the post is deleted but they still have the notification. If they click on it, they arrive at that page with that error. It seams a little too technical for them, and not in their language.

      For that reason, it would be better if the string was not hardcoded, and could be translated.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            levemar Marie-Eve Lévesque
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: