← Back to team overview

mahara-contributors team mailing list archive

[Bug 802337] Re: updating file config in admin section throws ctime warning

 

** Changed in: mahara
    Milestone: None => 1.5.0

** 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/802337

Title:
  updating file config in admin section throws ctime warning

Status in Mahara ePortfolio:
  Fix Committed

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


References