Assignment Grader - Document preview requires clicking on filename

Description

Assignment Grader preview fails to load, unless you click the file name.

 

 

Attachments

17

Activity

Show:

Andrea Schmidt December 2, 2020 at 5:16 PM

Verified on 20x: https://qa20-mysql.nightly.sakaiproject.org/, build: 8842c4e2 

Derek Ramsey September 11, 2020 at 10:09 AM

Verified on trunk

Adrian Fish September 1, 2020 at 5:06 AM

 The image attachment issue has been ticketed at https://jira.sakaiproject.org/browse/SAK-44183

Andrea Schmidt August 31, 2020 at 7:02 PM

Created  for this.i18n is undefined for document viewer. It is also on 20x, and this fix isn't on 20x yet.  also deals with i18n problems, but they weren't affecting 21x at the time. 

As for this Jira, the reason I did not set it to verified is because of all the comments. In my opinion, it is working, but I wanted to make sure the behavior was acceptable to those who commented.

If the student adds text and uploads a file, the text is displayed in the previewer and the link needs to be clicked for the file.

If there is no text:

  • 1 attachment: loads in the previewer when the instructor clicks on the student's name

  • 2 attachments: the first attachment is loaded in the previewer and the instructor needs to click the second attachment link to preview it.

  • If an unsupported file is attached, the message is displayed in the previewer that the file failed to load and the instructor needs to download it.

I added screen shots for the initial displays in each case, if you look at the screen shots starting with "student_"

Sam Ottenhoff August 31, 2020 at 12:53 PM

Hi @Brent please test with a PDF and not a JPG

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created July 27, 2020 at 10:39 AM
Updated January 5, 2021 at 9:39 AM
Resolved August 28, 2020 at 10:03 AM