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

Backing up a course that uses a format with only integers in the section names fails

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Edit coure/format/topic/lib.php and get rid of get_string('topic').' '. line 63
      2. Create a course using the topics format, or use a course with format = topics
      3. Browse to the course
      4. Click Backup in the Administration block under Course administration.
      5. Check you don't get an error
      Show
      Edit coure/format/topic/lib.php and get rid of get_string('topic').' '. line 63 Create a course using the topics format, or use a course with format = topics Browse to the course Click Backup in the Administration block under Course administration. Check you don't get an error
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      46335-28
    • Pull Master Diff URL:

      Description

      I have edited the "theme-form" in courses. So i get "1" instead of "Thema 1".

      In backup got an issue.
      i have solved it in backup/util/ui/backup_ui_setting.class.php line 142.
      See attachment

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            sbrandstaetter Simon Brandstätter
            Peer reviewer:
            Mark Nelson Mark Nelson
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Damyon Wiese Damyon Wiese
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Sep/14