Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course Import - Importing a file that is .gz but not .tar.gz hangs page #1386

Open
kdmccormick opened this issue Oct 16, 2024 · 0 comments
Open
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)

Comments

@kdmccormick
Copy link
Member

Reproduction

  • Make a .gz file on your computer. Or just rename one of your OLX archives from blah.tar.gz to blah.gz.
  • Create a new course
  • Go to "Import"
  • Pick blah.gz using the file picker.
  • Expected: Either:
    • The interface would show an error along the lines of Unsupported file type: .gz
    • The file picker would forbid me from picking a .gz file in the first place.
  • Actual: It lets me upload the non-tar .gz file, and once I do upload it, it hangs forever
  • Notice that: if you go to the developer console, you can see that the server does correctly respond with 415 Unsupported Media Type

Screenshot

image

Severity

Scope: Some course authors (including me)
Impact: Confusion. Easy to workaround once you realize what's happening.

@kdmccormick kdmccormick added the bug Report of or fix for something that isn't working as intended label Oct 16, 2024
@kdmccormick kdmccormick changed the title Importing a file that is .gz but not .tar.gz causes page to hang Import page - Importing a file that is .gz but not .tar.gz causes page to hang Oct 16, 2024
@kdmccormick kdmccormick changed the title Import page - Importing a file that is .gz but not .tar.gz causes page to hang Course Import - Importing a file that is .gz but not .tar.gz hangs page Oct 16, 2024
@kdmccormick kdmccormick added the release testing Affects the upcoming release (attention needed) label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended release testing Affects the upcoming release (attention needed)
Projects
Status: Backlog
Development

No branches or pull requests

1 participant