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

Select 'Rate...' => javascript alert is displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Ratings
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      1. Create a forum with rating enable (average aggregate)
      2. Create a new post
      3. With another user rate the post to 5
      4. Then rate back to 'Rate...'
      => a massive alert javascript box is displayed

      JSON.parse <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html dir="ltr" lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>Error</title>
      <link rel="shortcut icon" href="http://jerome.moodle.local/Moodle_HEAD_hub/moodle/theme/image.php?theme=boxxie&image=favicon&component=theme" />
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta name="keywords" content="moodle, Error" />
      <link rel="stylesheet" type="text/css" href="http://jerome.moodle.local/Moodle_HEAD_hub/moodle/theme/yui_combo.php?3.1.1/build/cssreset/reset-min.css&3.1.1/build/cssfonts/fonts-min.css&3.1.1/build/cssgrids/grids-min.css&3.1.1/build/cssbase/base-min.css" /><script type="text/javascript" src="http://jerome.moodle.local/Moodle_HEAD_hub/moodl
      .....

        Attachments

          Activity

            People

            • Assignee:
              andyjdavis Andrew Davis
              Reporter:
              jerome Jérôme Mouneyrac
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10