T&Q: Unable to edit quiz draft: Uncaught ReferenceError: portal is not defined
Description
Attachments
is related to
Activity

Matthew Jones November 19, 2024 at 1:42 AM
I’m going to close this as cannot reproduce. Please reopen if you can. I did the steps in the test plan but am not having any issues today.

Matthew Jones November 19, 2024 at 1:39 AM
I could reproduce this back on October 17th but I can’t anymore, it looks fine. I’m not sure what fixed this but I can long longer reproduce.

Matthew Jones October 17, 2024 at 10:56 PMEdited
Yeah, I don’t think it is.
This variable looks like it’s available as parent.portal.user.id
and window.top.portal.user.id
so that would be a quick fix.
But not as portal.user.id
anymore. I’m not sure which issue broke this. I’ll unassign you and look at this more though. I think this is a blocker as it could have other impacts and it seems breaks anything in Samigo when you have a draft. This variable still exists in Sakai 23 in this context.
There’s other code in Sakai that use portal.user.id
and I’m not sure if that’s breaking.

Bernardo Garcia Vila October 4, 2024 at 6:32 AM
Hi, I’m not sure this Jira relates to the linked S2U piece of work.
Details
Details
Priority
Affects versions
Components
Assignee

Reporter

It is not possible to edit a draft quiz on trunk. A console error displays:
Update 9/29/2024: this morning the drafts are initially listed first, then the page fixes itself. After the page has adjusted itself, clicking Edit does allow the instructor to edit the page.