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

[17.0-20241108] fs_attachment: object of type 'NoneType' has no len() #431

Open
etavarez577 opened this issue Nov 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@etavarez577
Copy link

Module

Base Attachment Object Store
fs_attachment

Describe the bug

Error with some images when opening it after uploading to external storage like S3 that returns NoneType error in ir.binary

To Reproduce

Affected versions:
The error occurs when uploading multiple images to the product.image model, which does an upload with success, but when going to the product and looking at the images, they all contain an error that stream.data is noneType

Steps to reproduce the behavior:

  1. Upload images for additional media for product in the product form sales tab 2.
  2. After you upload the images and you want to view it, you can't because it returns all noneType

**Expected behavior
Expected to happen that when you open the images, you will be able to see them.

Additional context
this is happening in version 17.0-20241108 which is the odoo docker image.
Screenshot 2024-11-21 at 12 28 29 PM

@etavarez577 etavarez577 added the bug Something isn't working label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant