Project

General

Profile

Actions

Bug #9976

closed

Uploading .SPS files

Added by Michael Shields over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress - Media
Target version:
Start date:
2018-07-02
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi everyone,

I assume this is a bug now since an update allowing .sps files to be uploaded was recently made. I'm still unable to upload .sps files. Thinking that the file was possibly case sensitive, I tried both .SPS and .sps. Neither worked. Please take a look at the attached screenshot.

Thank you!

-Michael


Files

SPS_Files.jpg (155 KB) SPS_Files.jpg Michael Shields, 2018-07-02 02:27 PM
Race_Ethnicity_Imputation.SPS (19.1 KB) Race_Ethnicity_Imputation.SPS Michael Shields, 2018-07-02 03:03 PM
Actions #1

Updated by Boone Gorges over 5 years ago

  • Assignee set to Raymond Hoh

Michael, could you please provide a copy of an .sps file we can use for testing?

Ray, once Michael has shared the file, would you mind taking a look at why the upload file whitelist is not working? It could be related to #9974

Actions #2

Updated by Michael Shields over 5 years ago

Thank you for the quick response.

I've attached the .sps file that I'm trying to upload.

Actions #3

Updated by Raymond Hoh over 5 years ago

  • Category name set to WordPress - Media
  • Status changed from New to Assigned
  • Target version set to 1.13.5

It's due to the .sps mime type not being defined in WordPress. We need to manually define the .sps mime type so it can be recognized by WordPress.

Added to the codebase in https://github.com/cuny-academic-commons/cac/commit/3483de49e2d7990062c89c9479e0a00fa996b7b3.

I've also deployed the fix on production.

Michael, can you test re-uploading your .sps files to see if it works now?

Actions #4

Updated by Michael Shields over 5 years ago

Thanks, Ray and Boone! It works perfectly! You can go ahead and close this ticket.

Thanks for the amazingly quick response!!! :)

Actions #5

Updated by Raymond Hoh over 5 years ago

  • Status changed from Assigned to Resolved

Great! Thanks for confirming, Michael.

Actions #6

Updated by Boone Gorges over 5 years ago

Gah, my fault. Sorry for not catching it the first time around, and thanks to Ray for the quick fix.

Actions

Also available in: Atom PDF