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

In Lesson "import questions", check which formats accept import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.2, 1.7
    • Component/s: Lesson
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE

      Description

      Starting with 1.6 I think, question import/export formats begin with a declaration as to whether they provide import or export or both:
      function provide_import()

      { return true; }
      function provide_export() { return true; }

      The QUESTION import and export files do check those, through calling get_import_export_formats( 'import' ) or get_import_export_formats( 'export' ).
      The LESSON import file does not to this checking. It should.

      Joseph

        Attachments

          Activity

            People

            Assignee:
            bushido Mark Nielsen
            Reporter:
            rezeau Joseph Rézeau
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Sep/06