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

In course backup and restore, activities titles are not passing multilang filters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3.2, 3.4
    • Fix Version/s: 3.3.4, 3.4.1
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      Hide
      • Enable the multilang filter and set it to apply to 'Content and headings'.
      • Install the Russian language pack (ru).
      • Create a course.
      • Visit the course.
      • Turn editing on.
      • Insert an activity, e.g. a Choice.
      • Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span>
      • Save and return to course.
      • Cog→Backup.
      • Click next on the appearing /backup/backup.php page.
      • Cross check that, on the following page, the choice title does pass multilang filters and says Title EN – if you switch to Russian, заглавие RU
      • Do the backup
      • Restore the backup in a new course
      • Cross check that the choice title does pass multilang filters and says Title EN – if you switch to Russian, заглавие RU
      Show
      Enable the multilang filter and set it to apply to 'Content and headings'. Install the Russian language pack (ru). Create a course. Visit the course. Turn editing on. Insert an activity, e.g. a Choice. Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span> Save and return to course. Cog→Backup. Click next on the appearing /backup/backup.php page. Cross check that, on the following page, the choice title does pass multilang filters and says Title EN – if you switch to Russian, заглавие RU Do the backup Restore the backup in a new course Cross check that the choice title does pass multilang filters and says Title EN – if you switch to Russian, заглавие RU
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60693-backup-multilang-activities

      Description

      • Enable the multilang filter and set it to apply to 'Content and headings'.
      • Install the Russian language pack (ru).
      • Create a course.
      • Visit the course.
      • Turn editing on.
      • Insert an activity, e.g. a Choice.
      • Set title to <span lang="en" class="multilang">Title EN</span><span lang="ru" class="multilang">заглавие RU</span>
      • Save and return to course.
      • Cog→Backup.
      • Click next on the appearing /backup/backup.php page.
      • On the following page, the Choice title does not pass multilang filters and says Title ENзаглавие RU
      • The same applies when restoring in backup/restore.php

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jan/18