← Back to team overview

mahara-contributors team mailing list archive

[Bug 774684] Re: HTML file from Moodle is not transferred correctly

 

Right have set up a mahoodle with moodle 2.0.3 and mahara master
(1.4.0alpha2dev)

Can confirm that if you export with html it won't set mimetype properly

if i export with leap, then get the following trace with no import


[Wed May 11 16:03:34 2011] [error] [client ::1] [WAR] 89 (import/leap/lib.php:1075) Undefined offset: 0
[Wed May 11 16:03:34 2011] [error] [client ::1] Call stack (most recent first):
[Wed May 11 16:03:34 2011] [error] [client ::1]   * log_message("Undefined offset: 0", 8, true, true, "/home/hugh/src/mahara/mahara/htdocs/import/leap/li...", 1075) at /home/hugh/src/mahara/mahara/htdocs/lib/errors.php:446
[Wed May 11 16:03:34 2011] [error] [client ::1]   * error(8, "Undefined offset: 0", "/home/hugh/src/mahara/mahara/htdocs/import/leap/li...", 1075, array(size 3)) at /home/hugh/src/mahara/mahara/htdocs/import/leap/lib.php:1075
[Wed May 11 16:03:34 2011] [error] [client ::1]   * PluginImportLeap->get_entry_by_id("http://localhost/moodle2/user/view.php?id=3";) at /home/hugh/src/mahara/mahara/htdocs/import/leap/lib.php:239
[Wed May 11 16:03:34 2011] [error] [client ::1]   * PluginImportLeap->create_strategy_listing() at /home/hugh/src/mahara/mahara/htdocs/import/leap/lib.php:135
[Wed May 11 16:03:34 2011] [error] [client ::1]   * PluginImportLeap->process() at /home/hugh/src/mahara/mahara/htdocs/api/xmlrpc/lib.php:473
[Wed May 11 16:03:34 2011] [error] [client ::1]   * send_content_ready("449b0d88a091d1c21e029db802ced9e51d4a4592", "test2", "leap2a", array(size 4), 1) at Unknown:0
[Wed May 11 16:03:34 2011] [error] [client ::1]   * call_user_func_array("send_content_ready", array(size 5)) at /home/hugh/src/mahara/mahara/htdocs/api/xmlrpc/lib.php:122
[Wed May 11 16:03:34 2011] [error] [client ::1]   * api_dummy_method("portfolio/mahara/lib.php/send_content_ready", array(size 5), "send_content_ready") at Unknown:0
[Wed May 11 16:03:34 2011] [error] [client ::1]   * xmlrpc_server_call_method(resource(#45), "<?xml version="1.0" encoding="utf-8"?>
[Wed May 11 16:03:34 2011] [error] [client ::1] <methodCall...", "send_content_ready", array(size 1)) at /home/hugh/src/mahara/mahara/htdocs/api/xmlrpc/dispatcher.php:191
[Wed May 11 16:03:34 2011] [error] [client ::1]   * Dispatcher->__construct("<?xml version="1.0" encoding="utf-8"?>
[Wed May 11 16:03:34 2011] [error] [client ::1] <methodCall...", true, true) at /home/hugh/src/mahara/mahara/htdocs/api/xmlrpc/server.php:142


** Changed in: mahara
       Status: Triaged => Confirmed

** Bug watch added: localhost/moodle2/user/ #3
   http://localhost/moodle2/user/view.php?id=3

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/774684

Title:
  HTML file from Moodle is not transferred correctly

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  This was trialed on the iMoot2011 site at http://2011.imoot.org/ It is
  connected to a Mahara 1.2 installation. When a text assignment and
  forum post (both simple text) were saved as HTML file to be
  transferred to Mahara, the HTML files could not be chosen in the "Some
  HTML" block. When the files were saved on the desktop from Moodle and
  uploaded into Mahara manually, they were recognized correctly and
  displayed.

  Would that be a Moodle or Mahara bug?

  I attach one of the files, but as the problem is in the transfer, I am
  not sure how useful this is.


References