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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.9, 2.0
    • Component/s: General
    • Labels:
      None
    • Environment:
      All
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              siefer Christoph Siefer
              Tester:
              Nobody
              Participants:
              Component watchers:
              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:
                Fix Release Date:
                3/Mar/08