canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

Student ePub exports fail silently for concluded courses

Open christopher-b opened this issue 6 years ago • 5 comments

Summary:

On the ePub export page (https://your.canvas.com/epub_exports), concluded courses are listed, but trying to generate an export fails with no user feedback.

Steps to reproduce:

  1. Enroll as a student in a concluded course
  2. Try to generate an ePub export of that course.
  3. Watch the JS console for an authorization error

Expected behavior:

Either the exported should be generated, or feedback should be provided to users stating that they cannot generate ePubs for concluded courses.

Actual behavior:

The export fails, with no feedback to the user.

Additional notes:

The problem lies here: https://github.com/instructure/canvas-lms/blob/e5b47766209cc534923ff67758d0350458997d6a/app/models/epub_export.rb#L85

Students cannot "participate" in concluded courses. I think this should be modified to allow students who can read the course to generate the export

course.grants_right?(user, :read)

christopher-b avatar May 28 '19 15:05 christopher-b

Thanks for contributing to this issue. As it has been 2 years since the last activity, we are automatically closing the issue in 30 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed, or post a message on the mailing list. We'll gladly take a look again!

stale[bot] avatar Jun 11 '21 02:06 stale[bot]

I believe this issue is still present. Thanks.

christopher-b avatar Jun 14 '21 14:06 christopher-b

I'm also seeing this issue.

anish-kondepudi avatar Jun 11 '23 19:06 anish-kondepudi

Tried to export ePub from a recently archived course. Issue is still present.

AbelSuperstar100 avatar Jun 26 '24 01:06 AbelSuperstar100

Still a very important issue. I cannot download the course content for the expensive university courses that have been completed and paid for.

milo-pa avatar Sep 01 '24 18:09 milo-pa