Instructor cannot view Test&Quiz linked to lessons
Description
Attachments
is depended on by
is duplicated by
relates to
Activity

Austin October 4, 2019 at 1:19 PMEdited
We're not running them in production for 12.6 yet, but plan to do so later this month. We will be applying these patches.
https://github.com/sakaiproject/sakai/commit/1e7518c5aeb1b1d37c0ecc2d9c584c23bcb83823
https://github.com/sakaiproject/sakai/commit/ebe44b76c3350049303a51b7559fc4472dee7a17
https://github.com/sakaiproject/sakai/commit/b0bd603aa0e94c632f0358cd0bce6a333890405a
https://github.com/sakaiproject/sakai/commit/5dfdcab72994df1fb64f550c2b1085af65eb171a
https://github.com/sakaiproject/sakai/commit/9706f3e07470e9b4f98209f2b76eed4351de8fc2
I've added some links and also linked to another new bug that I think is related, SAK-42554, but it seems like an edge case so we are going to release the patches anyway.

Daniel Merino October 4, 2019 at 4:47 AM
Thanks, Stephen. It seems to have been fixed in SAK-41786, though it is not linked to this ticket.
Stephen Marquard October 4, 2019 at 4:21 AM
The "preview unpublished assessment" issue has been fixed in 12.x. We are running latest 12.x at present.

Daniel Merino October 4, 2019 at 4:14 AM
After reading the comments I'm not sure if it is safe to apply these three PRs into our 12.6 deployment. It seems to cause other issues, some of them not still fixed.
Is somebody using this patch in production in Sakai 12?
Stephen Marquard September 9, 2019 at 6:36 AMEdited
The recent merge of this to 12.x has broken assessment preview for T&Q unpublished asssements for instructors (tested on https://qa12-mysql.nightly.sakaiproject.org)
login as an instructor
Create and publish a quiz in Test & Quizzes
In the Lessons tool -> add content -> link to Test & Quiz
Select the quiz from T & Q
after the quiz is linked into Lessons, try to click on the links
there is an Access Denied error
A similar problem happened with students, but that was fixed in SAK-40914, but it also appears that instructors can still hit this bug too.