Ticket #53 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Zip export creates a strange zip filename (only in Mac firefox)

Reported by: tom Owned by: brent
Priority: minor Milestone: 2.0.0-beta
Component: General Version: New Orleans 2.0.0-rc1
Keywords: ZIP export strange zip filename Cc:

Description

Zip export creates a strange zip filename (only in Mac firefox). The zip file it generates works, but does not match the filename I gave it.

Change History

Changed 6 years ago by tom

To clarify this bug, the strange filename is a combination of 6-8 letters and numbers with .zip at the end. So filename is not being picked up form the course name they way it should.

Changed 6 years ago by tom

OK, here it the REAL bug: I didn't know that course content needed to be selected before clicking the Export button. If you check some content it exports just fine. But if you don't select any content and click Export, rather than give an appropriate message, eduCommons attempts to export nothing. This is how I was getting strange filenames, like "dgh916y0.zip." So we need an error message to catch empty exports.

Changed 6 years ago by justin

If nothing is selected in a course and you export it will export the entire course. This problem happens on the mac if you have invalid characters in the file name. The mac doesn't like chars like ':' and so it generates a random filename to replace the invalid one.

Changed 6 years ago by justin

  • status changed from new to closed
  • resolution set to fixed

Courses whose titles contained invalid characters would not export with the specified file name because the operating system recognized it was invalid. The system now removes invalid characters from file names before export.

Note: See TracTickets for help on using tickets.