mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54211
[Bug 1831419] Re: Notification when Importing Leap2A
Commit hash: 7040639d50ac68759656d50feb79f0edd4b40f68
Environment tested: Master
Browser tested: Chrome
Theme used: Raw | Default raw | Ocean | Modern | Primary school
PRECONDITIONS:
------------------------
1) Enable logging level to 'All' (admin > configure site > site options > Logging settings = 'All')
TEST STEPS:
------------------------
1) Create a view with a text block and a comment block
2) Export that one view to a Leap2A file
3) Import just this view to Mahara.
4) Verify that there are no error messages displayed and portfolio has imported successfully ✔
Catalyst QA Approved ✔
--
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/1831419
Title:
Notification when Importing Leap2A
Status in Mahara:
New
Bug description:
Mahara: 19.04.04
DB: Postgres
OS: Linux
Browser: FF
When importing a view with a comment block, the following warning is
generated:
[WAR] ed (lib/mahara.php:2056) Undefined index: onview
Call stack (most recent first):
log_message("Undefined index: onview", 8, true, true, "/var/www/mahara/htdocs/lib/mahara.php", 2056) at /var/www/mahara/htdocs/lib/errors.php:520
error(8, "Undefined index: onview", "/var/www/mahara/htdocs/lib/mahara.php", 2056, array(size 23)) at /var/www/mahara/htdocs/lib/mahara.php:2056
handle_event("blockinstancecommit", object(BlockInstance)) at /var/www/mahara/htdocs/blocktype/lib.php:1480
BlockInstance->commit() at /var/www/mahara/htdocs/lib/view.php:2463
View->addblockinstance(object(BlockInstance)) at /var/www/mahara/htdocs/lib/view.php:3400
View::import_from_config(array(size 12), "2", "leap") at /var/www/mahara/htdocs/import/leap/lib.php:1036
PluginImportLeap->import_view_from_request(object(stdClass)) at /var/www/mahara/htdocs/import/leap/lib.php:1005
PluginImportLeap->import_from_requests() at /var/www/mahara/htdocs/import/leap/lib.php:348
PluginImportLeap->do_import_from_requests() at /var/www/mahara/htdocs/import/index.php:314
do_import() at /var/www/mahara/htdocs/import/index.php:71
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1831419/+subscriptions
References