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

Bulk edit activity completion displays & as a html entity

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin.
      2. Go to a course or create one.
      3. Enable course completion.
      4. Change one of the sections to: 1 & 2
      5. Add a resource named: 3 & 4 into the section named 1 & 2
      6. On that course, click on the cog and select Course completion
      7. Click on Bulk edit activity completion.
      8. Make sure it displays the section as 1 & 2
      9. Make sure the resource displays 3 & 4
      10. Open mod/quiz/lang/en/quiz.php and edit modulenameplural string adding &.. something like Questions & answers
      11. Purge the caches (if not running in dev mode)
      12. Go back to that course, click on the cog and select Course completion
      13. Select Default activity completion
      14. Make sure it displays the module name as you have edited: Questions & answers
      Show
      Log in as admin. Go to a course or create one. Enable course completion. Change one of the sections to: 1 & 2 Add a resource named: 3 & 4 into the section named 1 & 2 On that course, click on the cog and select Course completion Click on Bulk edit activity completion . Make sure it displays the section as 1 & 2 Make sure the resource displays 3 & 4 Open mod/quiz/lang/en/quiz.php and edit modulenameplural string adding & .. something like Questions & answers Purge the caches (if not running in dev mode) Go back to that course, click on the cog and select Course completion Select Default activity completion Make sure it displays the module name as you have edited: Questions & answers
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59797-master

      Description

      Steps to reproduce:

      1. Create a course
      2. Enable completion tracking
      3. Add a section named: 1 & 2
      4. Add a resource named : 3 & 4
      5. Edit course completion settings
      6. Open tab bulk edit activity completion

      Expected result: 1 & 2 and 3 & 4
      Actual result: 1 & amp;' 2 and 3 & amp; 4

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            rdebleu Renaat Debleu
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Jun Pataleta
            Tester:
            Ryan Wyllie
            Participants:
            Component watchers:
            Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Sep/17