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

function format_text in /lib/weblib.php generating notices when not called from cron

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Apparently introduce in a recent upgrade to cache text, notices are appearing everywhere.

      A couple of notes:

      1. Notices might be harmless, but since they must be investigated before installing on a production server, it would be good if they were checked for.
      2. The FULLME constant is similar to the $FULLME global variable, so it takes some time to figure out what is going on. And the meaning of using the term FULLME is not obvious (to me

      The patch checks for the existence of the constant before checking it's value as in other places where the constant is used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              ganderson Gary Anderson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08