← Back to team overview

mahara-contributors team mailing list archive

[Bug 804989] [NEW] Collections creation error with horizontal navigation bar unchecked

 

Public bug reported:

This was reported at
http://mahara.org/interaction/forum/topic.php?id=3797

The message I get on my local install (Mahara 1.4 running on Postgres):
[WAR] 5b (lib/errors.php:745) Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?), Array)
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was (2,1,2011-07-03 16:55:03,2011-07-03 16:55:03,Test,,)

Call stack (most recent first):

    log_message("Failed to get a recordset: postgres7 error: [-1: E...", 8, true, true) at /home/kristina/code/mahara14/htdocs/lib/errors.php:109
    log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at /home/kristina/code/mahara14/htdocs/lib/errors.php:745
    SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: E...") at /home/kristina/code/mahara14/htdocs/lib/dml.php:1060
    insert_record("collection", object(stdClass), "id", true) at /home/kristina/code/mahara14/htdocs/lib/collection.php:145
    Collection->commit() at /home/kristina/code/mahara14/htdocs/lib/collection.php:101
    Collection::save(array(size 5)) at /home/kristina/code/mahara14/htdocs/collection/edit.php:86
    submit(object(Pieform), array(size 5)) at Unknown:0
    call_user_func_array("submit", array(size 2)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:512
    Pieform->__construct(array(size 5)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:161
    Pieform::process(array(size 5)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:71
    pieform(array(size 5)) at /home/kristina/code/mahara14/htdocs/collection/edit.php:77

** Affects: mahara
     Importance: High
         Status: New


** Tags: collection

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/804989

Title:
  Collections creation error with horizontal navigation bar unchecked

Status in Mahara ePortfolio:
  New

Bug description:
  This was reported at
  http://mahara.org/interaction/forum/topic.php?id=3797

  The message I get on my local install (Mahara 1.4 running on Postgres):
  [WAR] 5b (lib/errors.php:745) Failed to get a recordset: postgres7 error: [-1: ERROR:  invalid input syntax for integer: ""] in adodb_throw(INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?), Array)
  Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name", "description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was (2,1,2011-07-03 16:55:03,2011-07-03 16:55:03,Test,,)

  Call stack (most recent first):

      log_message("Failed to get a recordset: postgres7 error: [-1: E...", 8, true, true) at /home/kristina/code/mahara14/htdocs/lib/errors.php:109
      log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at /home/kristina/code/mahara14/htdocs/lib/errors.php:745
      SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: E...") at /home/kristina/code/mahara14/htdocs/lib/dml.php:1060
      insert_record("collection", object(stdClass), "id", true) at /home/kristina/code/mahara14/htdocs/lib/collection.php:145
      Collection->commit() at /home/kristina/code/mahara14/htdocs/lib/collection.php:101
      Collection::save(array(size 5)) at /home/kristina/code/mahara14/htdocs/collection/edit.php:86
      submit(object(Pieform), array(size 5)) at Unknown:0
      call_user_func_array("submit", array(size 2)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:512
      Pieform->__construct(array(size 5)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:161
      Pieform::process(array(size 5)) at /home/kristina/code/mahara14/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 5)) at /home/kristina/code/mahara14/htdocs/collection/edit.php:77

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


Follow ups

References