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

BUG Better upload error message #7785

Merged

Conversation

tractorcow
Copy link
Contributor

Fixes silverstripe/silverstripe-asset-admin#720

The issue was the literal PHP error integer was being used as the error message.

Using the in-built upload validator will turn this into a proper localised error message.

@tractorcow
Copy link
Contributor Author

Before:

image

After:

image

Copy link
Contributor

@NightJar NightJar left a comment

Choose a reason for hiding this comment

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

Works a treat :)

capture

@flamerohr flamerohr merged commit c0085ef into silverstripe:4.0 Jan 23, 2018
@flamerohr flamerohr deleted the pulls/4.0/better-upload-message branch January 23, 2018 21:37
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.

3 participants