Print PDF is blocked by blockUI

Description

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.

Attachments

1
  • 24 Feb 2016, 10:34 AM

Activity

Show:

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

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:

  1. Click Edit in drop-down menu next to a Published Assessment

  2. Click Edit again in confirmation page

  3. 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 PM
Edited

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.

Fixed

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Environment

Sakai master nightly mysql

Created February 24, 2016 at 10:35 AM
Updated April 17, 2018 at 8:38 AM
Resolved March 28, 2016 at 12:18 PM

Flag notifications