Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #33332

When a file can not be uploaded in the Theming app due to an expected
error (like an invalid mime type) the response contains a "data.message"
field. However, if the upload fails due to an unexpected error (like an
internal error, for example if the "mime_content_type" function is
disabled) there is no such field, so it should not be used.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@blizzz blizzz mentioned this pull request Sep 6, 2022
@blizzz blizzz mentioned this pull request Sep 27, 2022
@blizzz blizzz added the 4. to release Ready to be released and/or waiting for tests to finish label Sep 27, 2022
@blizzz blizzz merged commit bd9ab80 into stable24 Sep 27, 2022
@blizzz blizzz deleted the backport/33332/stable24 branch September 27, 2022 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: theming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants