-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.2
-
MOODLE_30_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-53210-master -
there is some default capabilities mix up (I reported MDL-53209 about it) but regardless of this here is a bug:
Errors 1 & 2 :
- Give authenticated user on frontpage capability to view feedback (see
MDL-53209that this cap is missing by default) - Create a feedback on front page and map it to the courses. Hide it
- Go to the course where you mapped feedback to and add a feedback block
- Login as student - you should not see the feedback on the frontpage because it's hidden
- Error1: Go to the course - you will see this feedback in the feedback block, clicking on it opens empty page
- As admin unhide feedback
- Error2: As student go to frontpage and click on feedback name - you will see a weird error about coursemodule id
Error 3:
- Give authenticated user on frontpage capability to view feedback but not capability to complete it
- Enable $CFG->feedback_allowfullanonymous
- Create feedback on the frontpage and add a question to it
- Login as guest and make sure you can complete this feedback
- Login as student - you will be able to open feedback, you will see a link to attempt it but clicking on it will display an error
- blocks
-
MDL-53227 Remove file mod/feedback/complete_guest.php as it 95% repeats complete.php
- Closed