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

\n in quiz needing enrollment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.2, 2.2
    • Component/s: Course, Quiz
    • Labels:
      None

      Description

      Reproducing

      1. Log in as a person able to create courses
      2. Create a course
      3. Insert a quiz
      4. Create a user without enrolling them into the course
      5. Using that user's account, go to the course and click the quiz

      What do you see?

      A message saying:

      You need to enrol in this course before you can attempt this quiz

      \n\n

      \n

      What did you expect to see instead?

      A message without those three \ns


      Take a look at the attachment, which is a screenshot of the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              kongr45gpen Kostas
              Integrator:
              Petr Skoda
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/11