View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17921 | Bug reports | Survey taking | public | 2022-03-01 23:49 | 2022-03-12 15:51 |
Reporter | duvemyster | Assigned To | galads | ||
Priority | none | Severity | partial_block | ||
Status | acknowledged | Resolution | open | ||
Product Version | 3.25.20 | ||||
Summary | 17921: Unable to upload some types of xlsx files on file upload questions | ||||
Description | We have a respondent being prevented from uploading their xlsx files -- "Sorry, unable to check extension of this file type application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet." Xlsx is listed as an allowed file type. Opening these same xlsx files in Excel and then re-saving leads to successful upload. The source-code of these xlsx files contain the following. | ||||
Steps To Reproduce | Steps to reproduceCreate a survey with a file upload question with xlsx listed as an allowed file type and attempt to upload this type of file. Expected resultall types of xlsx-formatted files upload Actual resultSorry, unable to check extension of this file type application/vnd.openxmlformats-officedocument.spreadsheetml.sheetapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 3.28.1+220229 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Any | ||||
Database type & version | Mariadb / mysqlnd 7.4.13 | ||||
Server OS (if known) | Apache2 | ||||
Webserver software & version (if known) | Linux - Debian 4.19.181-1 (2021-03-19) x86_64 | ||||
PHP Version | 7.4.13 | ||||
Seems double mimetype ? |
|
@DenisChenu, I recreated the above error message in Version 5.3.4+220309 with debug mode set to 1 and with debug mode set to 2. No log file entry was created, and no additional onscreen information was provided beyond the message in the screenshot above. display_errors and log_errors are both set to On in php.ini, and the error_log location checked also confirmed in php.ini. track_errors and xmlrpc_errors are Off. Does either of these need to be on? Any other thoughts? |
|
My opinion : there is an issue in the file … maybe best is to disallow upload ? |
|
These files seem to be exports from another system. There isn't an issue in terms of opening and using them in Excel, but it does seem that they are not properly defined. Workarounds identified so far are to have the respondent open them in Excel, then re-save as xlsx from Excel, then upload. Or we can allow .zip and they can upload them after zipping. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-01 23:49 | duvemyster | New Issue | |
2022-03-01 23:49 | duvemyster | File Added: xlsx upload error message.png | |
2022-03-02 08:16 | DenisChenu | Note Added: 68487 | |
2022-03-02 08:16 | DenisChenu | Bug heat | 0 => 2 |
2022-03-02 10:42 | galads | Assigned To | => galads |
2022-03-02 10:42 | galads | Status | new => acknowledged |
2022-03-11 22:21 | duvemyster | Note Added: 68639 | |
2022-03-11 22:21 | duvemyster | Bug heat | 2 => 4 |
2022-03-12 12:49 | DenisChenu | Note Added: 68640 | |
2022-03-12 15:51 | duvemyster | Note Added: 68641 |