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

dcx_migration: FileFromUrl doesn't validate files #67

Open
IT-Cru opened this issue Sep 1, 2017 · 1 comment
Open

dcx_migration: FileFromUrl doesn't validate files #67

IT-Cru opened this issue Sep 1, 2017 · 1 comment

Comments

@IT-Cru
Copy link

IT-Cru commented Sep 1, 2017

In transform method of FileFromUrl class in dcx_migration files aren't validated (no hook_file_validate is called) and not created very well (only with uri and filename).

I think this import should be refactored to work more like in DropzoneJsUploadSave class.

@IT-Cru
Copy link
Author

IT-Cru commented Sep 1, 2017

Have build a little patch for this on gist
https://gist.github.com/IT-Cru/866dc78a766821121c8559f08456f2ec

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

No branches or pull requests

1 participant