Hi Michael,

The fix that was merged with this bug will fix that error log you see.

With your leap imports, they don't go into the files area, instead they
go to where they are meant to go :)

For example, when exporting from a forum in moodle, the forum will
become a new journal (Content->Journal). I believe you will find it
there. I will mark this bug as fixed, and if you still have trouble, you
can reopen this bug, or open a new one.

Cheers,

Hugh

 status fixcommitted

On 01/06/11 18:37, Michael Ditsch wrote:
> Hello,
> 
> Case 1
> Moodle:
> Exporting content from Forum: News and Announcements
> Exporting content to Mahara ePortfolio
> Summary of your export
> Selected export format  HTML
> Please confirm this export
> Continue to your portfolio
> Mahara shows:
> Home / incoming (with exported HTML file)
> 
> Case 2
> Moodle
> Exporting content from Forum: News and Announcements
> Exporting content to Mahara ePortfolio
> Summary of your export
> Selected export format Leap2A portfolio format
> Please confirm this export
> Continue to your portfolio
> Mahara shows:
> Dashboard (no file in Home / incoming)
> 
> /var/log/apache2/error.log
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] [WAR] ab 
> (import/leap/lib.php:1075) Undefined offset: 0
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] Call stack (most recent 
> first):
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> log_message("Undefined offset: 0", 8, true, true, 
> "/var/www/mahara/import/leap/lib.php", 1075) at 
> /var/www/mahara/lib/errors.php:446
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * error(8, "Undefined 
> offset: 0", "/var/www/mahara/import/leap/lib.php", 1075, array(size 3)) at 
> /var/www/mahara/import/leap/lib.php:1075
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> PluginImportLeap->get_entry_by_id("http://www.mydomain.com/user/view.php?id=148";)
>  at /var/www/mahara/import/leap/lib.php:239
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> PluginImportLeap->create_strategy_listing() at 
> /var/www/mahara/import/leap/lib.php:135
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> PluginImportLeap->process() at /var/www/mahara/api/xmlrpc/lib.php:473
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> send_content_ready("cde8974441442d1ba0bbf199b618fa561025077c", "user1", 
> "leap2a", array(size 4), 1) at Unknown:0
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> call_user_func_array("send_content_ready", array(size 5)) at 
> /var/www/mahara/api/xmlrpc/lib.php:122
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> api_dummy_method("portfolio/mahara/lib.php/send_content_ready", array(size 
> 5), "send_content_ready") at Unknown:0
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> xmlrpc_server_call_method(resource(#41), "<?xml version="1.0" 
> encoding="utf-8"?>
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] <methodCall...", 
> "send_content_ready", array(size 1)) at 
> /var/www/mahara/api/xmlrpc/dispatcher.php:191
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1]   * 
> Dispatcher->__construct("<?xml version="1.0" encoding="utf-8"?>
> [Wed Jun 01 08:12:39 2011] [error] [client 127.0.0.1] <methodCall...", true, 
> true) at /var/www/mahara/api/xmlrpc/server.php:142
> [Wed Jun 01 08:15:10 2011] [error] [client 127.0.0.1] [DBG] 6b 
> (auth/user.php:1075) Destroying user with un-committed changes, referer: 
> http://www.mydomain.com/portfolio/add.php
> 
> Regards
> Michael
> 
> ** Bug watch added: www.mydomain.com/user/ #148
>    http://www.mydomain.com/user/view.php?id=148
> 

-- 
Hugh Davenport
803 2258
Developer
Catalyst Ltd.

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

Title:
  Leap2A export from Moodle 2.0.2 does not work

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  via http://twitter.com/#!/midide/statuses/74085317572960256 :

  "Testinstallation Moodle 2.0.2 und Mahara 1.4rc2 "Export to portfolio"
  mit Leap2A geht nicht - HTML Export geht - #Moodle mit Portfolio"

  The export of an artefact from Moodle 2.0.2 to Mahara 1.4RC2 via
  Leap2A does not work. The HTML export works.

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to