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

Not access to student response in an essay question with html table in response template.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      I attach data to test de bug, it is a essay question exported in Moodle XML format.

      Test procedure:

      1. As teacher, import question to the question bank
      2. As teaccher, create a questionary and add the question
      3. As student, response the question including data in cells of the html table
      4. As teacher, access to the student attemp, then go to question. Can you see the table html?
      5. As administrator, Can you see the student response?

      Regards

      Carlos López

       

      <?xml version="1.0" encoding="UTF-8"?>
      <quiz>
      <!-- question: 0 -->
      <question type="category">
      <category>
      <text>$course$/top/DAAS/Medición y calidad/Definiciones de métricas reflexivas/Bug moodle</text>

      </category>
      </question>

      <!-- question: 875227 -->
      <question type="essay">
      <name>
      <text>Bug Moodle - CaracterizacionSubsistemasMétricasRobertMartin</text>
      </name>
      <questiontext format="html">
      <text><![CDATA[<p>En este ejercicio se presupone que disponemos <b>tres subsistemas bien diseñados</b>: <br></p><ul><li><pre>subsistema.interfazgráfica</pre></li><li><pre>subsistema.modelodenegocio</pre></li><li><pre>subsistema.utilidades</pre></li></ul><p>Se pide rellenar la tabla, con posibles valores de la medidas de Robert Martin, tal que los t<b>res subsistemas estén bien diseñados</b>. <br></p><p></p>]]></text>
      </questiontext>
      <generalfeedback format="html">
      <text><![CDATA[<p></p><p>La base teorica de este ejercicio es el análisis de los subsistemas de JUnit presentado en la documentación de teoría.</p><p>Cuando se han seleccionado los valores en la tabla se han cogido valores extremos para que cumplan la condición del enunciado <b>tres subsistemas bien diseñados</b> , es decir su <b>Dn = 0.</b></p><p><b></b><br></p><table><thead><tr><th scope="col">Subsistema<br></th><th scope="col">Ca <br></th><th scope="col">Ce</th><th scope="col">( I=\frac{Ce}

      {Ca+Ce})<br></th><th scope="col">A <br></th><th scope="col"> Dn</th></tr><tr><td><pre>subsistema.interfazgráfica</pre></td><td style="text-align: center;"> 0</td><td style="text-align: center;">10</td><td style="text-align: center;">1</td><td style="text-align: center;"> 0</td><td style="text-align: center;"> 0</td></tr><tr><td><pre>subsistema.modelodenegocio</pre></td><td style="text-align: center;">5 <br></td><td style="text-align: center;">5</td><td style="text-align: center;">0,5</td><td style="text-align: center;"> 0.5</td><td style="text-align: center;"> 0</td></tr><tr><td><pre> subsistema.utilidades</pre></td><td style="text-align: center;"> 10</td><td style="text-align: center;">0 <br></td><td style="text-align: center;">0 <br></td><td style="text-align: center;">1</td><td style="text-align: center;"> 0</td></tr></thead></table><br><p></p>]]></text>
      </generalfeedback>
      <defaultgrade>3.0000000</defaultgrade>
      <penalty>0.0000000</penalty>
      <hidden>0</hidden>
      <responseformat>editor</responseformat>
      <responserequired>1</responserequired>
      <responsefieldlines>40</responsefieldlines>
      <attachments>0</attachments>
      <attachmentsrequired>0</attachmentsrequired>
      <graderinfo format="html">
      <text><![CDATA[<p><b>1 pto</b> por la caracterización de cada subsistema equivalente a 0,20 ptos por cada celda.<br></p><p><br></p>]]></text>
      </graderinfo>
      <responsetemplate format="html">
      <text><![CDATA[<p></p><table><thead><tr><th scope="col">Subsistema<br></th><th scope="col">Ca <br></th><th scope="col">Ce</th><th scope="col">( I=\frac{Ce}{Ca+Ce}

      )<br></th><th scope="col">A <br></th><th scope="col"> Dn</th></tr><tr><td><pre>subsistema.interfazgráfica</pre></td><td> </td><td></td><td></td><td> </td><td> </td></tr><tr><td><pre>subsistema.modelodenegocio</pre></td><td> </td><td></td><td></td><td> </td><td> </td></tr><tr><td><pre> subsistema.utilidades</pre></td><td> </td><td> </td><td> </td><td> </td><td> </td></tr></thead></table><br><p></p>]]></text>
      </responsetemplate>
      </question>

      </quiz>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              clopezno clopezno
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: