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

FIX Show correct error message instead of successful message #1274

Conversation

sabina-talipova
Copy link
Contributor

@sabina-talipova sabina-talipova commented Jun 9, 2022

Description

Fixed an issue by adding "complete" event. After the file has been added, wait until the file status will be changed to "successful" or "error", only then update the content and show a message depending on what result will be received from the server.
New test cases were added.

Replaces #1273

Parent issue

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

Tested and more thoroughly reviewed in #1273 - all works well.

@GuySartorelli
Copy link
Member

@sabina-talipova merge on green

@GuySartorelli
Copy link
Member

The travis build is failing because it is trying to run installer 4.11 - I've created a PR to fix that: #1275

@sabina-talipova sabina-talipova force-pushed the pulls/1.10/fix-wrong-message branch from 2c12319 to fb299b3 Compare June 9, 2022 04:32
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

The two remaining travis failures are expected - see comments on #1275

@GuySartorelli GuySartorelli merged commit c692b7f into silverstripe:1.10 Jun 9, 2022
@GuySartorelli GuySartorelli deleted the pulls/1.10/fix-wrong-message branch June 9, 2022 05:47
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.

2 participants