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

Backwards incompatibility of LTI based plugins that use custom instructor parameters in moodle 2.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.8.3
    • LTI External tool
    • None
    • MOODLE_28_STABLE

      Some of the plugins built on top of LTI mod and used custom instructor parameters are breaking in 2.8. The code which can be blamed lies in locallib.php in mod/lti. Function name is "lti_split_custom_parameters".
      $lines = "explode("\n", $customstr); // Or should this split on "/[\n;]/"?

      Earlier it was being split on /[\n;]/. So those plugins which were separating variables using semicolon are breaking now in 2.8. This line should be reverted back from explode to original preg_split.

            Unassigned Unassigned
            verificient ankit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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