review for 1.4_STABLE at https://reviews.mahara.org/427
** Also affects: mahara/1.4
Importance: Undecided
Status: New
** Changed in: mahara/1.4
Status: New => In Progress
** Changed in: mahara/1.4
Importance: Undecided => Medium
** Changed in: mahara/1.4
Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)
** Changed in: mahara/1.4
Milestone: None => 1.4.1
--
You received this bug notification because you are a member of Mahara
Reviewers, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/784326
Title:
adding a collection with "Page navigation bar" unchecked throws
exception
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 1.4 series:
In Progress
Bug description:
in /collection/edit.php?new=1
when the "Page navigation bar" option is not selected, then the
following error log is given
[Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (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), referer: http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/errors.php:745)
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name",
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent
first):, referer: http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * log_message("Failed to
get a recordset: postgres7 error: [-1: E...", 8, true, true) at
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:109, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * log_warn("Failed to get a
recordset: postgres7 error: [-1: E...") at
/home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
SQLException->__construct("Failed to get a recordset: postgres7 error: [-1:
E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
insert_record("collection", object(stdClass), "id", true) at
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * Collection->commit() at
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Collection::save(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * submit(object(Pieform),
array(size 5)) at Unknown:0, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
call_user_func_array("submit", array(size 2)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Pieform->__construct(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Pieform::process(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * pieform(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] , referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060)
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), referer: http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] [WAR] 4a (lib/dml.php:1060)
Command was: INSERT INTO "collection" ("id", "owner", "ctime", "mtime", "name",
"description", "navigation") VALUES (?, ?, ?, ?, ?, ?, ?) and values was
(4,2,2011-05-18 11:19:05,2011-05-18 11:19:05,fh,gh,), referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] Call stack (most recent
first):, referer: http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
insert_record("collection", object(stdClass), "id", true) at
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:145, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * Collection->commit() at
/home/hugh/src/mahara/mahara/htdocs/lib/collection.php:101, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Collection::save(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:86, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * submit(object(Pieform),
array(size 5)) at Unknown:0, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
call_user_func_array("submit", array(size 2)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Pieform->__construct(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] *
Pieform::process(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] * pieform(array(size 5)) at
/home/hugh/src/mahara/mahara/htdocs/collection/edit.php:77, referer:
http://localhost/mahara/collection/edit.php?new=1
[Wed May 18 11:19:05 2011] [error] [client ::1] , referer:
http://localhost/mahara/collection/edit.php?new=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/784326/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help : https://help.launchpad.net/ListHelp