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

Gradebook: Import outcomes error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: Gradebook
    • Labels:
    • Database:
      MySQL
    • Testing Instructions:
      Hide
      • As an admin, Enable outcomes in "Site administration > Advanced features"
      • If don't already have an outcome export file create one. Go to Site Administration > Grades > Outcomes and click "Export all outcomes".
      • As a teacher, try to import outcomes from an export file by going to a course grade book and selecting import outcomes from the gradebook navigation drop down.
        You should be able to import those outcomes
      • As admin, go back to the outcome import screen. You should have the option to import it either a custom or standard outcome.
        The import should proceed without error although you may be told the outcome already exists so no importing was actually done
      Show
      As an admin, Enable outcomes in "Site administration > Advanced features" If don't already have an outcome export file create one. Go to Site Administration > Grades > Outcomes and click "Export all outcomes". As a teacher, try to import outcomes from an export file by going to a course grade book and selecting import outcomes from the gradebook navigation drop down. You should be able to import those outcomes As admin, go back to the outcome import screen. You should have the option to import it either a custom or standard outcome. The import should proceed without error although you may be told the outcome already exists so no importing was actually done
    • Workaround:
      Hide

      Import outcomes as an administrator

      Show
      Import outcomes as an administrator
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-36128-master

      Description

      Attempting to import an outcomes file as a teacher into the latest 2.3.2 fails, with the message:

      "An error occurred, this script wasn't called with the right parameters."

      The file imports without any problem when I'm logged in as an admin.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gaudreaj Jean-Philippe Gaudreau
              Reporter:
              lsmith Lesli Smith
              Peer reviewer:
              Andrew Davis
              Integrator:
              Sam Hemelryk
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/13