[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-11-03 Thread François Marier
** Changed in: mahara/1.4
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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 Released
Status in Mahara 1.4 series:
  Fix Released

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: 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-07-03 Thread Hugh Davenport
This problem is also present on 1.4

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-07-03 Thread François Marier
** Changed in: mahara/1.4
   Status: In Progress = Fix Committed

** Changed in: mahara
Milestone: 1.5.0 = None

** Changed in: mahara
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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 Released
Status in Mahara 1.4 series:
  Fix Committed

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, 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-06-07 Thread Hugh Davenport
** Changed in: mahara
Milestone: None = 1.5.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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

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]   * 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-05-23 Thread Hugh Davenport
** Changed in: mahara
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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

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] 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-05-18 Thread Hugh Davenport
https://reviews.mahara.org/202


** Changed in: mahara
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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:
  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 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-05-18 Thread Hugh Davenport
** Changed in: mahara
 Assignee: (unassigned) = Hugh Davenport (hugh-catalyst)

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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:
  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 

[Mahara-contributors] [Bug 784326] Re: adding a collection with Page navigation bar unchecked throws exception

2011-05-17 Thread François Marier
** Changed in: mahara
   Importance: Undecided = Medium

** Changed in: mahara
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Mahara
Contributors, 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:
  Triaged

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