-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Save Failed: The MIME type "application/pdf" is not accepted #2943
Comments
I think a bigger issue that has been raised is that media uploads are not uploaded instantly. Only on save. This is not the same as existing pages behavior. |
@rhukster yeah i was investigating this and its because current flex pages upload is using the task from the "type: file", which has
where as admin uses 2 seperate tasks for "type:pagemedia" and "type: file". Type file checks for the "accept:" in settings and defaults to images only, where are type: pagemedia doesnt look for file MIME types at all, |
also regarding the upload instantly, it does upload instant, but only to the "tmp" folder only later does it get transfered over. I guess this was done to allow media uploading prior to first page save? Maybe can be expanded to save to tmp if page doesnt exist yet (no first save) and if it does, automatically move it |
Does the same with everything that is not an image. |
This is fixed already in 1.7 branch. |
There was a case I missed. Should be fixed now. |
Looking good! |
Saving pdf to the pages flex media does not work
The text was updated successfully, but these errors were encountered: