-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.9.2, 2.9.3, 3.0.9, 3.1.5, 3.2.2, 3.3
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
-
MDL-53155-master -
When a teacher switches her role to student and views an assignment with groupmode the following error is thrown:
You can't add comments
More information about this error
Debug info:
Error code: nopermissiontocomment
Stack trace:
line 58 of /mod/assign/submission/comments/lib.php: comment_exception thrown
line ? of unknownfile: call to assignsubmission_comments_comment_validate()
line 7135 of /lib/moodlelib.php: call to call_user_func_array()
line 7117 of /lib/moodlelib.php: call to component_callback()
line 937 of /comment/lib.php: call to plugin_callback()
line 948 of /comment/lib.php: call to comment->validate()
line 436 of /comment/lib.php: call to comment->can_view()
line 74 of /mod/assign/submission/comments/locallib.php: call to comment->output()
line 927 of /mod/assign/renderer.php: call to assign_submission_comments->view_summary()
line 316 of /lib/outputrenderers.php: call to mod_assign_renderer->render_assign_submission_plugin_submission()
line 697 of /mod/assign/renderer.php: call to plugin_renderer_base->render()
line 316 of /lib/outputrenderers.php: call to mod_assign_renderer->render_assign_submission_status()
line 3972 of /mod/assign/locallib.php: call to plugin_renderer_base->render()
line 4289 of /mod/assign/locallib.php: call to assign->view_student_summary()
line 556 of /mod/assign/locallib.php: call to assign->view_submission_page()
line 53 of /mod/assign/view.php: call to assign->view()
- has a non-specific relationship to
-
MDL-58166 Students are unable to view submissions to assignments with marking workflow and allocated markers
-
- Closed
-
-
MDL-55275 Group assignment nopermissiontocomment if trainer is in a separate group
-
- Closed
-
- is duplicated by
-
MDL-59195 Assignments and switch role to student: Error with viewing assignment with group submitting
-
- Closed
-
- will help resolve
-
MDL-57908 Assignment upgrade exception
-
- Closed
-