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

\core\external\exporter::export() does not recognise the 'default' attribute for the format property

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80201-403
    • MDL-80201-main
    • Hide

      This is pretty much covered by unit tests, but to manually test, you can try this out:

      1. Create at least one course and enrol a student in the created course(s).
      2. Download and apply the test patch: 80201_test.patch .

        cd /path/to/your/moodle/instance
        git apply /path/to/80201_test.patch
        

      3. Login as the student and go to "My courses".
      4. Confirm that the "My courses" page loads okay and does not show any errors.
      Show
      This is pretty much covered by unit tests, but to manually test, you can try this out: Create at least one course and enrol a student in the created course(s). Download and apply the test patch: 80201_test.patch . cd /path/to/your/moodle/instance git apply /path/to/80201_test .patch Login as the student and go to " My courses ". Confirm that the "My courses" page loads okay and does not show any errors.
    • 1
    • Team Hedgehog 2023 Sprint 4.3, Team Hedgehog 2023 Review 4

      \core\external\exporter::export() throws an exception if a value for the format property of an exporter subclass is not provided in the data to be exported even when a default value is defined in the exporter implementation.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Meirza Meirza
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 13 minutes
                2h 13m

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