In the share view screen, when there is an error in the field values, like an end date older that today, the form with all the rows is displayed again. This includes the 'Share with' empty row that actually has no values, that's why there is an exception with "Undefined index:" message.
-- 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/1785924 Title: error message when sharing a page Status in Mahara: New Bug description: When creating a view and sharing it, if we select an end date older that today it will display an error message for this. That is expected and correct. But there is a second error message: [WAR] 6c (lib/form/elements/viewacl.php:67) Undefined index: id Call stack (most recent first): log_message("Undefined index: id", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/lib/form/...", 67) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:521 error(8, "Undefined index: id", "/home/ceciliavg/maharacode/mahara/htdocs/lib/form/...", 67, array(size 18)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/form/elements/viewacl.php:67 pieform_element_viewacl(object(Pieform), array(size 13)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:1509 Pieform->build_element_html(array(size 13)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:725 Pieform->build() at /home/ceciliavg/maharacode/mahara/htdocs/lib/pieforms/pieform.php:169 Pieform::process(array(size 9)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/mahara.php:5161 pieform(array(size 9)) at /home/ceciliavg/maharacode/mahara/htdocs/view/accessurl.php:520 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1785924/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

