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][10.0] fix image height / width cast exception #18436

Closed

Conversation

Guenzn
Copy link
Contributor

@Guenzn Guenzn commented Jul 25, 2017

Description of the issue/feature this PR addresses:
Code (e.g. oca's web_tree_image) using controller /web/binary/image (for backward compatibility) without specifying attribute resize will raise an cast exception in method content_image.

Current behavior before PR:
No images could be loaded issued by a cast exception int(None).

Desired behavior after PR is merged:
Images can be loaded

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@Guenzn Guenzn changed the title 10.0 fix image height width cast exception 10.0 fix image height / width cast exception Jul 27, 2017
@Guenzn Guenzn changed the title 10.0 fix image height / width cast exception [FIX][10.0] fix image height / width cast exception Jul 27, 2017
@Guenzn Guenzn closed this Oct 6, 2017
@Guenzn Guenzn deleted the 10.0-fix-image-height-width-cast-exception branch October 9, 2017 06: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.

1 participant