** Changed in: mahara/15.10 Milestone: 15.10.1 => 15.10.2 -- 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/1509167
Title: PHP error message when you submit a page access end date in the past Status in Mahara: Confirmed Status in Mahara 15.10 series: Confirmed Status in Mahara 16.04 series: Confirmed Bug description: To replicate: 1. Create a page 2. Share page 3. On the share page screen, share with "Public" 4. On the ACL line for public, set "Access end date/time" to a date in the past 5. Save Expected result: You should see some Mahara end-user error messages telling you "The end date for 'Public' access cannot be in the past." and "There was an error with submitting this form. Please check the marked fields and try again." Actual result: In addition to those, PHP throws an error message: Set a date in the past with the format: %%d/%%m/%%Y [WAR] 32 (lib/form/elements/viewacl.php:65) Undefined index: id Call stack (most recent first): log_message("Undefined index: id", 8, true, true, "/var/www/html/maharagerrit/htdocs/lib/form/element...", 65) at /var/www/html/maharagerrit/htdocs/lib/errors.php:441 error(8, "Undefined index: id", "/var/www/html/maharagerrit/htdocs/lib/form/element...", 65, array(size 17)) at /var/www/html/maharagerrit/htdocs/lib/form/elements/viewacl.php:65 pieform_element_viewacl(object(Pieform), array(size 13)) at /var/www/html/maharagerrit/htdocs/lib/pieforms/pieform.php:1480 Pieform->build_element_html(array(size 13)) at /var/www/html/maharagerrit/htdocs/lib/pieforms/pieform.php:714 Pieform->build() at /var/www/html/maharagerrit/htdocs/lib/pieforms/pieform.php:169 Pieform::process(array(size 8)) at /var/www/html/maharagerrit/htdocs/lib/pieforms/pieform.php:71 pieform(array(size 8)) at /var/www/html/maharagerrit/htdocs/view/access.php:546 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1509167/+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