Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-38856 META: Issues around Bootstrapbase and Clean theme
  3. MDL-39130

Students responses to some questions disappear when reviewing with Clean theme

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Questions, Themes
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-39130-master
    • Hide

      Using the Clean theme, in a Quiz, preview a question with a text input such as shortanswer or numerical.
      "Submit all and finish".
      Check that the answer is still displayed in the input field you typed it into next to the tick or cross.

      If incorrect/correct the answer should be colorized red/green.

      Not sure if partiallycorrect is possible here. If it is then it'll be amber. (If it's not then we should probably take the line that defines those colors out.)

      Show
      Using the Clean theme, in a Quiz, preview a question with a text input such as shortanswer or numerical. "Submit all and finish". Check that the answer is still displayed in the input field you typed it into next to the tick or cross. If incorrect/correct the answer should be colorized red/green. Not sure if partiallycorrect is possible here. If it is then it'll be amber. (If it's not then we should probably take the line that defines those colors out.)

    Description

      When using the Bootstrap theme,
      If after answering some types of questions (many questions types using a textarea for answer seems affected but I didn't tested all of them, I tested shortanswer and numerical and they are affected) you click on "Submit all and finish", and if you review your attempt, all your responses are hidden. The feedback image (green check or red cross) is displayed but the response itself is not.
      Inspecting the element this seems related to

      .que .correct:empty {
          display: none;
      }
      

      and the same with incorrect:empty, but not really sure as my knowledge of Moodle styles is pretty limited
      I attach 2 screenshots of a shortanswer question, one after clicking on the "Verify" button where the "Bootstrap" answer is visible and one of the same question after clicking on 3submit all and finish" where it is invisible.
      the problem can be tested both during previewing a question and when reviewing a quiz.
      I have set components of this issue as both Thme and Questions but I am nearly sure this is a Bootstrap theme problem.

      Attachments

        1. bug bootstrap 2.png
          bug bootstrap 2.png
          36 kB
        2. bug bootstrap 3.png
          bug bootstrap 3.png
          46 kB
        3. bug bootstrap 4.png
          bug bootstrap 4.png
          50 kB
        4. cloze_sample.png
          cloze_sample.png
          156 kB
        5. formulas_bootstrap_vs_standard.png
          formulas_bootstrap_vs_standard.png
          101 kB
        6. quiz_preview.png
          quiz_preview.png
          74 kB

        Issue Links

          Activity

            People

              bawjaws David Scotson
              jmvedrine Jean-Michel Vedrine
              Jean-Michel Vedrine Jean-Michel Vedrine
              Damyon Wiese Damyon Wiese
              Jason Fowler Jason Fowler
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13