Reviewed: https://reviews.mahara.org/6956 Committed: https://git.mahara.org/mahara/mahara/commit/e3510c9ef3a4aff0c08e619a6dea6b47ac2d4000 Submitter: Son Nguyen (son.ngu...@catalyst.net.nz) Branch: master
commit e3510c9ef3a4aff0c08e619a6dea6b47ac2d4000 Author: Robert Lyon <robe...@catalyst.net.nz> Date: Mon Sep 12 14:29:45 2016 +1200 Bug 1620411: Fixing up the checking for start/stop dates When the row has disabled fields Also fixing select options when we have a locked option We used to remove the option but this causes a problem showing the option as selected one. Need to keep all options and then disable the locked one from being picked twice. behatnotneeded Change-Id: I4db0d6810099c751f46b504edf1a0cffde6e6b83 Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> -- 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/1620411 Title: Error message showing up when tried to share among the users Status in Mahara: Fix Committed Bug description: Version master 16.10 Happens in PHP server Encountered the following error message: [WAR] fb (view/access.php:415) Undefined index: startdate Call stack (most recent first): log_message("Undefined index: startdate", 8, true, true, "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415) at /home/niranjanbandi/code/mahara/htdocs/lib/errors.php:513 error(8, "Undefined index: startdate", "/home/niranjanbandi/code/mahara/htdocs/view/access...", 415, array(size 10)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:415 editaccess_validate(object(Pieform), array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:1449 Pieform->validate(array(size 11)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:521 Pieform->__construct(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164 Pieform::process(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4728 pieform(array(size 8)) at /home/niranjanbandi/code/mahara/htdocs/view/access.php:555 Steps to reproduce: 1) Login as a admin user or normal user 2) Navigate to portfolio>Shared by me ( make sure you have a profile page in it ) 3)Click on Edit Access ( key icon) 4)select share with users and select one user. Make sure you don't enter from and to dates in it 5)Click on save Result: Php code is displayed with some warning message. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1620411/+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