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] Fixes scope error preventing file upload errors from being dismissed #7230

Merged
merged 2 commits into from
Jun 30, 2017

Conversation

gdelavald
Copy link
Contributor

@RocketChat/core
Closes #7220

There was a scope error that caused the file uploaded ID to be undefined, causing the error to append instead of replace the file on the uploading list:
Current behavior

With the fix, the file upload indicator is replaced with the error and the close buttons works when trying to dismiss the error.
Fixed

Not sure if the 'error.message' is the best choice there, but I think it's better than doing just the error code that was there previously.

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7230 June 12, 2017 18:58 Inactive
@gdelavald gdelavald requested review from ggazzo and karlprieb June 12, 2017 19:00
@geekgonecrazy geekgonecrazy added this to the 0.57.0 milestone Jun 23, 2017
@rodrigok rodrigok modified the milestones: 0.58.0, 0.57.0 Jun 30, 2017
@rodrigok rodrigok merged commit e40379b into develop Jun 30, 2017
@rodrigok rodrigok deleted the fix-closing-file-upload-errors branch June 30, 2017 19:58
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.

File upload errors can't be dismissed
6 participants