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

String invalidcourseid - missing content for placeholder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.5, 2.3.2
    • 2.2.3
    • Language
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Code review should be sufficient, else pass id invalid params to course/delete.php, course/externallib.php, enrol/authorize/index.php and nnotes/externallib.php and examine the string.

      Show
      Code review should be sufficient, else pass id invalid params to course/delete.php, course/externallib.php, enrol/authorize/index.php and nnotes/externallib.php and examine the string.

      The language strings
      [invalidcourseid,core_error]
      You are trying to use an invalid course ID: ({$a})
      contains a placeholder. In the Moodle interface, when entering an invalid course ID, the placeholder is not filled in. It just shows ({$a})

      Steps to reproduce: enter an invalid course number in the URL moodle/course/view.php?id=427 and you'll see the string appear.

      Suggested fix: alter the English string: it's clear which is the invalid course ID and I think the information is useless.

            poltawski Dan Poltawski
            koen Koen Roggemans
            Ankit Agarwal Ankit Agarwal
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.