Print PDF is blocked by blockUI
Description
Attachments
- 24 Feb 2016, 10:34 AM
depends on
is duplicated by
Activity
Molly Kelsey March 28, 2016 at 12:22 PM
https://trunk-mysql.nightly.sakaiproject.org/portal/
OS X Yosemite v10.10.5
Firefox v45.0.1
PDF downloads, the Please Wait message is not shown. Everything on the screen is clickable and works as expected.
There are some spacing issues with check boxes along the top. Selecting different boxes and clicking Apply Settings causes more spacing issues with actual test information.
https://www.evernote.com/l/AsukYL5YgNtItaadMbvz2bPYnOUX06SNhhY
Matthew Jones March 28, 2016 at 10:09 AM
@Molly Kelsey Test out this one again after Samigo nightly restarts. I believe Samigo hasn't started up correct for a few days.
Molly Kelsey March 26, 2016 at 11:58 AM
https://trunk-mysql.nightly.sakaiproject.org/portal/
OS X Yosemite v10.10.5
Firefox v45.0.1
Safari v9.1 (10601.5.17.4)
Fresh browser, clean cache. Clicking Print redirects to broken Assessments page (see screenshot), so I was not able to check clicking Download as PDF.
To Reproduce:
Click Edit in drop-down menu next to a Published Assessment
Click Edit again in confirmation page
Click Print - redirected to Assessments
Screenshot: https://www.evernote.com/l/Asu5z7t-EVBIQZ_5-Tlm-D37WYVl4_wCZ1c
Matthew Jones March 3, 2016 at 4:51 PMEdited
Agreed, there's no errors in the console, but the blockUI never comes back.
It looks like code from https://sakaiproject.atlassian.net/browse/SAM-2483#icft=SAM-2483 is being hit on the Print page. Is the selector too generic? Should honorPledgeIsChecked not be true by default? Does this form need this special class added? Should these not be submit buttons? I'm not 100% sure the fix here.
$("input[type='submit'][class!='noActionButton']")
Brian J. February 24, 2016 at 10:48 AM
This is most likely not an infinite loop, but rather a modal (blocking) dialogue box being left on the screen with no option for the user to dismiss it, and the code is not properly removing it.
1) Create and publish an assessment
2) From the Published copies tab; select 'Edit' from the drop down for any published assessment . click Edit again (when warning message appears).
3) Click 'Print' from the options bar on the top of the page
4) Click 'Download PDF'
PDF opens (and AFAICT is fine), but going back to Sakai, a "Please Wait" message stays on the screen and nothing on the screen is clickable. See enclosed screenshot. I waited a couple of minutes before closing the browser tab with Sakai in it.
I can click to other browser tabs/windows while Please Wait shows but can't do anything in Sakai.