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

multilang coursename support for mod_choice response export filename

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.4
    • 3.7.5, 3.8.2, 3.9
    • Choice
    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE
    • MDL-68629_master
    • Hide
      1. Create a course with a shortname in multilang format, e.g.:

        <span lang="en" class="multilang">English</span><span lang="de" class="multilang">Deutsch</span>

      1. Create a choice activity with two options.
      2. Add a student to the course.
      3. As the student select either option in the choice activity.
      4. As admin go to the choice -> View 1 response -> Download in {ODS,Excel,text} format
      5. Make sure the filename doesn't contain any "span" etc.
      Show
      Create a course with a shortname in multilang format, e.g.: <span lang="en" class="multilang">English</span><span lang="de" class="multilang">Deutsch</span> Create a choice activity with two options. Add a student to the course. As the student select either option in the choice activity. As admin go to the choice -> View 1 response -> Download in {ODS,Excel,text} format Make sure the filename doesn't contain any "span" etc.

      When you are in a course that has a shortname using the multilang format (see https://docs.moodle.org/en/Multi-language_content_filter) and export the responses of a choice activity the filename looks like this:

      span lang=de class=multilangabstimmung testspanspan lang=en class=multilangchoice testspan test ticket 20200422-0498.xlsx

            tschroeder Tim Schroeder
            tschroeder Tim Schroeder
            Luca Bösch Luca Bösch
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

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