← Back to team overview

mahara-contributors team mailing list archive

[Bug 1402911] [NEW] Error posting a new forum topic

 

Public bug reported:

Here's an error caused by the new TinyMCE image inserter (Bug 1399054)

[WAR] 8e (lib/errors.php:745) Failed to get a recordset: postgres8 error: [-2: ERROR:  syntax error at or near "group"
LINE 1: SELECT group FROM "interaction_instance"  WHERE "id" =  $1
              ^] in EXECUTE("SELECT group FROM "interaction_instance"  WHERE "id" = ? ")
Command was: SELECT group FROM "interaction_instance"  WHERE "id" = ?  and values was (1)
Call stack (most recent first):

    log_message("Failed to get a recordset: postgres8 error: [-2: E...", 8, true, true) at /home/aaronw/www/mahara/htdocs/lib/errors.php:95
    log_warn("Failed to get a recordset: postgres8 error: [-2: E...") at /home/aaronw/www/mahara/htdocs/lib/errors.php:745
    SQLException->__construct("Failed to get a recordset: postgres8 error: [-2: E...") at /home/aaronw/www/mahara/htdocs/lib/dml.php:477
    get_recordset_sql("SELECT group FROM "interaction_instance" WHERE "i...", array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:788
    get_field_sql("SELECT group FROM "interaction_instance" WHERE "i...", array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:776
    get_field("interaction_instance", "group", "id", 1) at /home/aaronw/www/mahara/htdocs/interaction/forum/edittopic.php:198
    addtopic_submit(object(Pieform), array(size 9)) at Unknown:0
    call_user_func_array("addtopic_submit", array(size 2)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:527
    Pieform->__construct(array(size 4)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:162
    Pieform::process(array(size 4)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:71
    pieform(array(size 4)) at /home/aaronw/www/mahara/htdocs/interaction/forum/edittopic.php:173

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: forums regression

** Changed in: mahara
    Milestone: None => 15.04.0

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Tags added: forums regression

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1402911

Title:
  Error posting a new forum topic

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Here's an error caused by the new TinyMCE image inserter (Bug 1399054)

  [WAR] 8e (lib/errors.php:745) Failed to get a recordset: postgres8 error: [-2: ERROR:  syntax error at or near "group"
  LINE 1: SELECT group FROM "interaction_instance"  WHERE "id" =  $1
                ^] in EXECUTE("SELECT group FROM "interaction_instance"  WHERE "id" = ? ")
  Command was: SELECT group FROM "interaction_instance"  WHERE "id" = ?  and values was (1)
  Call stack (most recent first):

      log_message("Failed to get a recordset: postgres8 error: [-2: E...", 8, true, true) at /home/aaronw/www/mahara/htdocs/lib/errors.php:95
      log_warn("Failed to get a recordset: postgres8 error: [-2: E...") at /home/aaronw/www/mahara/htdocs/lib/errors.php:745
      SQLException->__construct("Failed to get a recordset: postgres8 error: [-2: E...") at /home/aaronw/www/mahara/htdocs/lib/dml.php:477
      get_recordset_sql("SELECT group FROM "interaction_instance" WHERE "i...", array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:788
      get_field_sql("SELECT group FROM "interaction_instance" WHERE "i...", array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:776
      get_field("interaction_instance", "group", "id", 1) at /home/aaronw/www/mahara/htdocs/interaction/forum/edittopic.php:198
      addtopic_submit(object(Pieform), array(size 9)) at Unknown:0
      call_user_func_array("addtopic_submit", array(size 2)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:527
      Pieform->__construct(array(size 4)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:162
      Pieform::process(array(size 4)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 4)) at /home/aaronw/www/mahara/htdocs/interaction/forum/edittopic.php:173

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1402911/+subscriptions


Follow ups

References