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

broken markup due to error-reporting strangles XML-parsing (e.g. in chat-module)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.9, 2.0
    • General
    • None
    • All
    • MySQL
    • MOODLE_18_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      Set up a virgin moodle.
      Create a Course.
      Add Chat.
      Login as user without any rights for that Chat.
      Try to access.
      You should get an error: "Sorry, but you do not currently have permissions to do that (Talk in a chat)"
      What you see is the browser complaining about invalid tag-folding in

      </div> <!-- end div content -->
      --^

      Have a look at the delivered markup: the error breaks conntent-delivery just inside a tables cell. Don't know how to solve that, but why would the chat-module force XML-output via <xml... declaration? Could that be surpressed if any error-printing is predictable?

      Apreciate Your work,

      greetz,

      Christopher

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              siefer Christoph Siefer
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08