** Changed in: mahara/15.04
    Milestone: 15.04.3 => 15.04.4

** Changed in: mahara/1.10
    Milestone: 1.10.6 => 1.10.7

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1360977

Title:
  Error when import a blog via self-Leap2A import

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  Version: master(1.10)

  When importing a single leap2a file using Portfolio/Import
  I got the following error

  [WAR] 70 (lib/adodb/adodb-exceptions.inc.php:43) Array to string conversion
  Call stack (most recent first):
  log_message("Array to string conversion", 8, true, true, 
"/home/sonn/code/mahara/master/htdocs/lib/adodb/ado...", 43) at 
/home/sonn/code/mahara/master/htdocs/lib/errors.php:439
  error(8, "Array to string conversion", 
"/home/sonn/code/mahara/master/htdocs/lib/adodb/ado...", 43, array(size 7)) at 
/home/sonn/code/mahara/master/htdocs/lib/adodb/adodb-exceptions.inc.php:43
  ADODB_Exception->__construct("postgres7", "adodb_throw", -1, "ERROR: invalid 
input syntax for type timestamp: "...", "INSERT INTO "mh11_artefact" ("id", 
"artefacttype",...", array(size 10), object(ADODB_postgres7)) at 
/home/sonn/code/mahara/master/htdocs/lib/adodb/adodb-exceptions.inc.php:78
  adodb_throw("postgres7", "adodb_throw", -1, "ERROR: invalid input syntax for 
type timestamp: "...", "INSERT INTO "mh11_artefact" ("id", "artefacttype",...", 
array(size 10), object(ADODB_postgres7)) at 
/home/sonn/code/mahara/master/htdocs/lib/adodb/adodb.inc.php:257
  ADODB_TransMonitor("postgres7", "EXECUTE", -1, "ERROR: invalid input syntax 
for type timestamp: "...", "INSERT INTO "mh11_artefact" ("id", 
"artefacttype",...", array(size 10), object(ADODB_postgres7)) at 
/home/sonn/code/mahara/master/htdocs/lib/adodb/adodb.inc.php:1074
  ADOConnection->_Execute("INSERT INTO "mh11_artefact" ("id", 
"artefacttype",...", array(size 10)) at 
/home/sonn/code/mahara/master/htdocs/lib/adodb/adodb.inc.php:1045
  ADOConnection->Execute("INSERT INTO "mh11_artefact" ("id", 
"artefacttype",...", array(size 10)) at 
/home/sonn/code/mahara/master/htdocs/lib/dml.php:1043
  insert_record("artefact", object(stdClass), "id", true) at 
/home/sonn/code/mahara/master/htdocs/artefact/lib.php:548
  ArtefactType->commit() at 
/home/sonn/code/mahara/master/htdocs/artefact/blog/lib.php:154
  ArtefactTypeBlog->commit() at 
/home/sonn/code/mahara/master/htdocs/import/leap/lib.php:2207
  
LeapImportArtefactPlugin::create_artefact_from_request(object(PluginImportLeap),
 object(stdClass)) at 
/home/sonn/code/mahara/master/htdocs/artefact/blog/import/leap/lib.php:175
  LeapImportBlog::import_from_requests(object(PluginImportLeap)) at Unknown:0
  call_user_func_array(array(size 2), array(size 1)) at 
/home/sonn/code/mahara/master/htdocs/lib/mahara.php:1577
  call_static_method("LeapImportBlog", "import_from_requests", 
object(PluginImportLeap)) at 
/home/sonn/code/mahara/master/htdocs/import/leap/lib.php:293
  PluginImportLeap->call_import_method_plugins("import_from_requests") at 
/home/sonn/code/mahara/master/htdocs/import/leap/lib.php:308
  PluginImportLeap->do_import_from_requests() at 
/home/sonn/code/mahara/master/htdocs/import/index.php:312
  do_import() at /home/sonn/code/mahara/master/htdocs/import/index.php:75

  The leap2a file is provided in the bug
  https://bugs.launchpad.net/mahara/+bug/1358934

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to