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

[7032] Uploading an image or file with invalid filename using Image Uploaded to S3 Repository or File Uploaded to S3 Repository datasources a window will show up that can't be closed or cancelled #4058

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

jvega190
Copy link
Member

…ploaded to S3 Repository or File Uploaded to S3 Repository datasources a window will show up that can't be closed or cancelled
me.uploadingFile = false;
$('#uploadCancelButton').attr('disabled', false);

CStudioAuthoring.Operations.showSimpleDialog(
Copy link
Member Author

Choose a reason for hiding this comment

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

Since the SingleFileUpload component already does the error handling (shows an alert w/retry icon) this error dialog is no longer needed. The error was that the response was different so the parsing was failing and the state wasn't restored.

@jvega190 jvega190 marked this pull request as ready for review July 18, 2024 16:47
@jvega190 jvega190 requested a review from rart as a code owner July 18, 2024 16:47
@sumerjabri sumerjabri merged commit 3f7711f into craftercms:develop Jul 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants