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

[stable-4.7] Import modal: better error for Invalid file format. (#4159) #4163

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

himdel
Copy link
Collaborator

@himdel himdel commented Aug 31, 2023

Manual backport of #4159 , allow skipping browser filetype detection.
(conflict in imports)


  • Import modal: better error for Invalid file format.

we're checking the mime-type before allowing collection upload, this mostly works, but in some cases (see AAP-15541), it can fail unexpectedly.

This should make debugging that case easier, by including the detected type in the error message.

  • make filetype detection error skippable

* Import modal: better error for Invalid file format.

we're checking the mime-type before allowing collection upload,
this mostly works, but in some cases (see AAP-15541), it can fail unexpectedly.

This should make debugging that case easier, by including the detected type in the error message.

No-Issue

* make filetype detection error skippable

(cherry picked from commit 9d4df78)
@himdel himdel merged commit bac4520 into ansible:stable-4.7 Aug 31, 2023
@himdel himdel deleted the 47-4159 branch August 31, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant