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 Ensure that uploads of duplicate files detect existing filenames properly #245

Merged

Conversation

tractorcow
Copy link
Contributor

No description provided.

@helpfulrobot
Copy link

@tractorcow, thanks for your PR! By analyzing the blame information on this pull request, I identified @chillu and @sminnee to be potential reviewers

@tractorcow tractorcow force-pushed the pulls/4.0/fix-file-create branch from 27b98cc to 522f454 Compare September 8, 2016 03:00
@tractorcow
Copy link
Contributor Author

There's a bug in core that needs fixing; Folder::validate() doesn't bypass extension checking, so it will fail validation in some cases.

@sminnee sminnee added this to the CMS 4.0.0-alpha2 milestone Sep 21, 2016
BUG Fix issue with file duplication on upload
@tractorcow tractorcow force-pushed the pulls/4.0/fix-file-create branch from 522f454 to b4c9a53 Compare September 22, 2016 01:04
@sminnee
Copy link
Member

sminnee commented Sep 22, 2016

There's a bug in core that needs fixing; Folder::validate() doesn't bypass extension checking, so it will fail validation in some cases.

Fix merged in silverstripe/silverstripe-framework#6056

@sminnee
Copy link
Member

sminnee commented Sep 22, 2016

Reviewing this code, it seems as though we've missed a feature in framework:SilverStripe/Assets which I've logged here: silverstripe/silverstripe-framework#6063

However, this PR ensure that asset-admin does what it is supposed to: perform a context-aware canCreate() check.

@sminnee sminnee merged commit 31aec53 into silverstripe:master Sep 22, 2016
@flamerohr flamerohr deleted the pulls/4.0/fix-file-create branch September 22, 2016 21:53
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