Hi Aaron, This is an upgrade (1.10 -> 15.10) so I'm not quite sure how the field got into that state.
But, the view was originally copied from an institution view. Then, the institution view was later deleted. It may have something to with this. Thanks, Ghada -- 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/1514661 Title: Textbox blocktype raising error when configdata['artefactids'] is not set Status in Mahara: In Progress Status in Mahara 15.10 series: In Progress Status in Mahara 16.04 series: In Progress Bug description: Mahara 15.10 version = 2015092910 release = 15.10.0 DB: postgresql (but shouldn't matter) Upgrading from Mahar 1.10 to 15.10, some textboxes give the following error: [WAR] 3b (artefact/internal/blocktype/textbox/lib.php:313) Undefined index: artefactids Call stack (most recent first): log_message("Undefined index: artefactids", 8, true, true, "/var/www/mahara-site-acttqi-1510/artefact/internal...", 313) at /var/www/mahara-site-acttqi-1510/lib/errors.php:441 error(8, "Undefined index: artefactids", "/var/www/mahara-site-acttqi-1510/artefact/internal...", 313, array(size 18)) at /var/www/mahara-site-acttqi-1510/artefact/internal/blocktype/textbox/lib.php:313 PluginBlocktypeTextbox::instance_config_form(object(BlockInstance), "0") at Unknown:0 call_user_func_array(array(size 2), array(size 2)) at /var/www/mahara-site-acttqi-1510/lib/mahara.php:1693 call_static_method("PluginBlocktypeTextbox", "instance_config_form", object(BlockInstance), "0") at /var/www/mahara-site-acttqi-1510/blocktype/lib.php:1017 BlockInstance->build_configure_form(false) at /var/www/mahara-site-acttqi-1510/blocktype/lib.php:817 BlockInstance->render_editing(true) at /var/www/mahara-site-acttqi-1510/lib/view.php:2445 View->configureblockinstance(array(size 2)) at /var/www/mahara-site-acttqi-1510/lib/view.php:1849 View->process_changes() at /var/www/mahara-site-acttqi-1510/view/blocks.json.php:30 The configdata['artefacids'] is not set. We should check for: && isset($configdata['artefactids']) on line 313 of artefact/internal/blocktype/textbox/lib.php as we do in other blocktypes. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1514661/+subscriptions _______________________________________________ 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