Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3509

Pcast scale used anywhere has incorrect parameter passed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.1, 2.2
    • Component/s: Module: Pcast
    • Labels:
      None
    • Workaround:
      Hide

      Until an official fix, the pcast module can be disabled which resolves the Grade error. Or applying the patch above will ensure the module can be kept enabled and Grade used.

      Show
      Until an official fix, the pcast module can be disabled which resolves the Grade error. Or applying the patch above will ensure the module can be kept enabled and Grade used.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      The pcast_scale_used_anywhere() function on line 490 of /mod/pcast/lib.php incorrectly passes $scaleid and causes the /grade/edit/scale/index.php page to break.
      It should be passed as an array of parameters, and also "grade" should be "scale".

      Attached is a patch which fixes the above issue.

        Attachments

        1. patch.txt
          0.4 kB
        2. patch.txt
          0.4 kB

          Activity

            People

            Assignee:
            sbourget Stephen Bourget
            Reporter:
            fgasking Frank Gasking
            Participants:
            Component watchers:
            Stephen Bourget
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Jul/11