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

postgresql syntax error in mod/feedback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Feedback
    • Labels:
      None
    • Environment:
      postgresql database
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Under certain conditions a query is performed using "AND 1" which postgresql rejects as a syntax error.
      This causes an 'error reading from database' in Moodle.

      Patch exists, please see soon to arrive comment for github link.

        Attachments

          Activity

            People

            • Assignee:
              grabs Andreas Grabs
              Reporter:
              tlevi Tony Levi
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/May/11