mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #39992
[Bug 1646628] Re: Importing Leap2A file throws an error
Also: Do you just export that page or do you export the entire
portfolio?
** Changed in: mahara
Status: New => Incomplete
--
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/1646628
Title:
Importing Leap2A file throws an error
Status in Mahara:
Incomplete
Bug description:
Version : 17:04
Browser : FF
While testing this bug https://bugs.launchpad.net/mahara/+bug/1632913
I came across another, here it is
Steps to reproduce:
1) Create a page and add few comments to the page
2) Now Export it as a Leap2A file
3) Login as another user
4) Now try to import the file that has been exported earlier at step 2
Result: The page gets imported but it displays few warning messages as
below
[WAR] 4a (artefact/annotation/import/leap/lib.php:0) Declaration of
LeapImportAnnotation::setup_view_relationships(SimpleXMLElement
$entry, PluginImportLeap $importer) should be compatible with
LeapImportArtefactPlugin::setup_view_relationships(SimpleXMLElement
$entry, PluginImportLeap $importer, $strategy, array $otherentries)
Call stack (most recent first):
log_message("Declaration of LeapImportAnnotation::setup_view_re...", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:521
error(2, "Declaration of LeapImportAnnotation::setup_view_re...", "/home/niranjanbandi/code/mahara/htdocs/artefact/an...", 0, array(size 10)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
require_once() at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:1569
safe_require("import", "leap/annotation", "lib.php", "require_once", true) at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:440
PluginImportLeap->create_strategy_listing() at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:153
PluginImportLeap->build_default_load_mapping() at /home/niranjanbandi/code/mahara/htdocs/import/leap/lib.php:169
PluginImportLeap->process(1) at /home/niranjanbandi/code/mahara/htdocs/import/index.php:243
import_submit(object(Pieform), array(size 3)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:543
Pieform->__construct(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
Pieform::process(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4799
pieform(array(size 5)) at /home/niranjanbandi/code/mahara/htdocs/import/index.php:167
print_upload_form() at /home/niranjanbandi/code/mahara/htdocs/import/index.php:61
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1646628/+subscriptions
References