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

Lesson introeditor after update not show Atto/TinyMCE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8.3, 3.3.4
    • Lesson
    • MOODLE_28_STABLE, MOODLE_33_STABLE

      1. When you update Moodle to 2.8 version (we updated from 2.6.1 to 2.8.3), the new field introformat in table mdl_lesson will be added (default value is 0).
      This is set in /mod/lesson/db/upgrade.php.
      2. If you create (or update it) a new lesson activity, Atto/TinyMCE editors will be showed on the Edit settings page. In the introformat field will set value 1.
      3. But when you update old lessons, created in the previous Moodle version, the textarea field will be showed instead Atto/TinyMCE
      (because default value of introformat field for old lesson activities is 0, not 1).
      4. If you change in the table mdl_lesson in introformat field value from 0 to 1, Atto/TinyMCE will be showed on Edit settings page.

      We fix this problem by writing the script which change all values in introformat field from 0 to 1.

            Unassigned Unassigned
            zhuikill Ilya Zhuykov
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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