diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-05-23 12:53:09 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-05-23 13:09:37 +0000 |
| commit | 4f0a00628f06f93b82d472d292be008deb44bf40 (patch) | |
| tree | ad5a01aa180e6a24516ad3ace856e4d6817b64e8 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | c0577084478afc255d6ab4f3c8d35cb124ead67c (diff) | |
[FIX] mail: cannot create attachment of bad image
When receiving an email, an attachment is created for every base64
embedded image. We got an invalid image which caused the attachment
generation to fail with a traceback due to a base64 decode error.
The attachment creation has been wrapped into a try/catch in order to
remove problematic images.
opw-1987224
closes odoo/odoo#33620
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
