** Changed in: mahara/15.04
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Committed

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to