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

Closing file stream before moving file to destination #769

Merged
merged 1 commit into from Mar 21, 2014

Conversation

xshyamx
Copy link
Contributor

@xshyamx xshyamx commented Mar 13, 2014

From Images not showing. Using IOUtils to close streams before moving files. Fixes BroadleafCommerce/DemoSite#81

@sunil0791
Copy link

Related to #715

@phillipuniverse
Copy link
Contributor

@sunil0791 thanks for the commit, this is mostly right. I am going to merge this in and make a few modifications to it against this ticket.

After the modifications are complete, if you could verify that they work that would be much appreciated. I do not have a readily available Windows development environment.

Thanks!

phillipuniverse added a commit that referenced this pull request Mar 21, 2014
Fixes #769 - Closing file stream before moving file to destination to properly deal with uploading images on Windows
@phillipuniverse phillipuniverse merged commit aca3acc into BroadleafCommerce:BroadleafCommerce-3.1.x Mar 21, 2014
phillipuniverse added a commit that referenced this pull request Mar 21, 2014
…with file uploads in Windows. Also made additional fixes to dealing with output streams and properly cleaning up if there were exceptions
@phillipuniverse
Copy link
Contributor

@sunil0791 my changers are done, I'm building a new 3.1.1-SNAPSHOT version right now. Please test this out and let me know if it's working on your end.

Thanks!

@sunil0791
Copy link

@phillipuniverse srry was busy with something. I will test it out this weekend and let you know if this is resolved.
Thanks & Regards,
Sunil

@phillipuniverse
Copy link
Contributor

@sunil0791 no problem. Actually, I thought you had the original pull request commit but that was @xshyamx. Would appreciate if both of you could help test this out; the more eyes we can get to confirm this the better!

@ArloL
Copy link
Contributor

ArloL commented Mar 28, 2014

I can confirm that 3.1.1-SNAPSHOT works.

phillipuniverse pushed a commit that referenced this pull request Jul 18, 2017
…eproxy

NPE in getCategory on OrderItem (e.g. Non Discrete Items / Non Catalog Items)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants