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

WebService mod_workshop_get_assessment_form_definition is filtering text that should not be filtered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9.5, 3.10.2
    • 3.9.3, 3.10.1, 3.11, 4.0
    • Workshop
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-70340-master
    • Hide
      Prerequisite
      1. Moodle mobile app.
      2. Your Moodle mobile app should be able to connect to your Moodle website. You can either do the following:
        • Ensure that the phone with the mobile app and the web server are on the same network. Or
        • Expose the web server over the internet via ngrok.
      Test
      1. Create a new course
      2. Via Course settings cog -> Filters ensure that the "Display emoticons as images" filter is ON
      3. Enrol a couple users as student (student2 and student1) and one user as teacher
      4. Add a workshop activity
      5. As teacher, move the workshop to the submission phase (doing all the required configuration steps indicated by the activity and using the default values). For the description and submission you can use random text. And same for the assertions in the assessment form.
      6. Accesing to the site as the two students, do a submission (total of 2 submissions, one per student).
      7. As teacher, move the workshop to the assessment phase, allocating the assessment of the submissions: student2 will assess student1 and vice versa.
      8. Now, in Moodle web, accessing as student1 complete the assessment of the student2 submission in the "Comment for Assertion X" fields use the following text: "Emoticons "
      9. Do the same with student2 but completing the assessment for student1 using the same text
      10. Now, using the mobile app, access as teacher to the site, go to the workshop
      11. Open the assessments that student1 did for student2 and confirm that
        • In the comments for the Aspects you see the exact text "Emoticons " and you don't see any HTML or images
      Show
      Prerequisite Moodle mobile app. Your Moodle mobile app should be able to connect to your Moodle website. You can either do the following: Ensure that the phone with the mobile app and the web server are on the same network. Or Expose the web server over the internet via ngrok. Test Create a new course Via Course settings cog -> Filters ensure that the "Display emoticons as images" filter is ON Enrol a couple users as student (student2 and student1) and one user as teacher Add a workshop activity As teacher, move the workshop to the submission phase (doing all the required configuration steps indicated by the activity and using the default values). For the description and submission you can use random text. And same for the assertions in the assessment form. Accesing to the site as the two students, do a submission (total of 2 submissions, one per student). As teacher, move the workshop to the assessment phase, allocating the assessment of the submissions: student2 will assess student1 and vice versa. Now, in Moodle web, accessing as student1 complete the assessment of the student2 submission in the "Comment for Assertion X" fields use the following text: "Emoticons " Do the same with student2 but completing the assessment for student1 using the same text Now, using the mobile app, access as teacher to the site, go to the workshop Open the assessments that student1 did for student2 and confirm that In the comments for the Aspects you see the exact text "Emoticons " and you don't see any HTML or images

      Peercomment is being filtered (type text) when it shouldnt

      if (strpos($key, 'peercomment_idx') === 0)

      { // Format reviewer comment. list($val, $format) = external_format_text($val, FORMAT_MOODLE, $context->id); }

            jleyva Juan Leyva
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 20 minutes
                3h 20m

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