-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.3
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
-
MDL-38289-master-int -
I have bumped into this in live course when trying to follow assignment links from e-mail notifications when not logged in Moodle.
I can reproduce this error on qa.moodle.net.
Steps to reproduce:
- Set intro section 0 to conditional access: "Not available if your aim is empty"
- Add assignment to course section 1.
- Log off and click on direct link to assignment created in step 2. (ie. http://qa.moodle.net/mod/assign/view.php?id=281)
I get this error:
Requested user profile field does not exist
|
|
Debug info:
|
Error code: codingerror
|
Stack trace:
|
|
line 1345 of /lib/conditionlib.php: coding_exception thrown
|
line 1039 of /lib/conditionlib.php: call to condition_info_base->get_cached_user_profile_field()
|
line 280 of /lib/conditionlib.php: call to condition_info_base->is_available()
|
line 1744 of /lib/modinfolib.php: call to condition_info_section->is_available()
|
line 337 of /lib/modinfolib.php: call to section_info->__construct()
|
line 1393 of /lib/modinfolib.php: call to course_modinfo->__construct()
|
line 2838 of /lib/moodlelib.php: call to get_fast_modinfo()
|
line 39 of /mod/assign/view.php: call to require_login()
|
What I expect: login form with redirection to assignment after successful login
- has a non-specific relationship to
-
MDL-37773 Requested user profile field does not exist
-
- Closed
-