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

WYSIWYG editor disappeared after restored courses from 1.9.1 to 2.1

    XMLWordPrintable

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      Testing difficulty level: Easy, requires Moodle 1.9 available.

      1. In Moodle 1.9, create a course with the following resources having both Summary and Full text filled.
      1.1 Web page (via "Compose a web page")
      1.2 Text page (via "Compose a text page") with the format field set to "Moodle auto-format"
      1.2 Text page with the format field set to "HTML format"
      1.3 Text page with the format field set to "Plain text format"
      1.4 Text page with the format field set to "Markdown format"
      2. Make a ZIP backup of the course
      3. Restore the backup in 2.1 or 2.2 or 2.3dev
      4. Make sure you have TinyMCE enabled in your profile
      5. TEST: Go and try to re-edit all four resources. Make sure that
      4.1 TinyMCE is used to edit the page content of the legacy Web page resource
      4.2 TinyMCE is used to edit the page content of the legacy Text page resource with the format set to "HTML format"
      4.3 Good old textarea is used to edit the content of all other pages, with the format field displaying the correct value.

      Show
      Testing difficulty level: Easy, requires Moodle 1.9 available. 1. In Moodle 1.9, create a course with the following resources having both Summary and Full text filled. 1.1 Web page (via "Compose a web page") 1.2 Text page (via "Compose a text page") with the format field set to "Moodle auto-format" 1.2 Text page with the format field set to "HTML format" 1.3 Text page with the format field set to "Plain text format" 1.4 Text page with the format field set to "Markdown format" 2. Make a ZIP backup of the course 3. Restore the backup in 2.1 or 2.2 or 2.3dev 4. Make sure you have TinyMCE enabled in your profile 5. TEST: Go and try to re-edit all four resources. Make sure that 4.1 TinyMCE is used to edit the page content of the legacy Web page resource 4.2 TinyMCE is used to edit the page content of the legacy Text page resource with the format set to "HTML format" 4.3 Good old textarea is used to edit the content of all other pages, with the format field displaying the correct value.
    • Workaround:
      Hide

      Change the format option below the editor to HTML format. After saving, the HTML editor should appear.

      Show
      Change the format option below the editor to HTML format. After saving, the HTML editor should appear.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-29256-resource-format

      Description

      The WYSIWYG editor disappeared after restored the courses from 1.9 + to 2.1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              georchen George Chen
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Michael de Raadt
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Mar/12