Reviewed: https://reviews.mahara.org/556 Committed: http://gitorious.org/mahara/mahara/commit/f41b2c335f62f11c8ed39bd94e464b60bc52aef0 Submitter: Richard Mansfield ([email protected]) Branch: master
commit f41b2c335f62f11c8ed39bd94e464b60bc52aef0 Author: Hugh Davenport <[email protected]> Date: Tue Aug 2 16:08:01 2011 +1200 Fix ctime constraint on file config page (bug #802337) Change-Id: I544009df48c0059c35c8630c84111f1fb9b90490 Signed-off-by: Hugh Davenport <[email protected]> -- You received this bug notification because you are a member of Mahara Core, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/802337 Title: updating file config in admin section throws ctime warning Status in Mahara ePortfolio: In Progress Bug description: [WAR] 81 (lib/errors.php:745) Failed to get a recordset: postgres7 error: [-1: ERROR: null value in column "ctime" violates not-null constraint] in EXECUTE("INSERT INTO "site_content" ("name", "content", "mtime", "mauthor") VALUES (?, ?, ?, ?)") [WAR] 81 (lib/errors.php:745) Command was: INSERT INTO "site_content" ("name", "content", "mtime", "mauthor") VALUES (?, ?, ?, ?) and values was (uploadcopyright,,2011-06-27 15:56:20,1) Call stack (most recent first): * 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 * log_warn("Failed to get a recordset: postgres7 error: [-1: E...") at /home/hugh/src/mahara/mahara/htdocs/lib/errors.php:745 * SQLException->__construct("Failed to get a recordset: postgres7 error: [-1: E...") at /home/hugh/src/mahara/mahara/htdocs/lib/dml.php:1060 * insert_record("site_content", object(stdClass)) at /home/hugh/src/mahara/mahara/htdocs/artefact/file/lib.php:1320 * ArtefactTypeFile::save_config_options(array(size 17)) at Unknown:0 * call_user_func_array(array(size 2), array(size 1)) at /home/hugh/src/mahara/mahara/htdocs/lib/mahara.php:1202 * call_static_method("ArtefactTypeFile", "save_config_options", array(size 17)) at /home/hugh/src/mahara/mahara/htdocs/admin/extensions/pluginconfig.php:114 * pluginconfig_submit(object(Pieform), array(size 17)) at Unknown:0 * call_user_func_array("pluginconfig_submit", array(size 2)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:512 * Pieform->__construct(array(size 9)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161 * Pieform::process(array(size 9)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71 * pieform(array(size 9)) at /home/hugh/src/mahara/mahara/htdocs/admin/extensions/pluginconfig.php:94 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/802337/+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

