Skip to content

Conversation

@LucasLefevre
Copy link
Collaborator

@LucasLefevre LucasLefevre commented Oct 17, 2025

see commit messages

Task: 5176795

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

@robodoo
Copy link
Collaborator

robodoo commented Oct 17, 2025

Pull request status dashboard

If the image upload fails, it means there's a problem somewhere that
needs to be investiguated.

But we are currently try/catching the error to show a user-friendly message.

Several issues:

- The user doesn't care if the message is friendly or not: he wanted to
  upload an image and it doesn't work.
- the person investiguating the issue wants the full traceback to investiguate
  efficiently

Task: 5176795
This commit removes the image file garbage collection mechanism.
Originally, files were deleted when their corresponding images were removed
from the spreadsheet.

However, this caused the files to become unavailable in the version history
and added unnecessary complexity to handle properly.

File deletion is now delegated to the integrator software, which is
responsible for cleaning up files when needed.

Task: 5176795
@LucasLefevre LucasLefevre force-pushed the master-remove-image-catch-lul branch from 210f106 to df5deb5 Compare October 17, 2025 10:59
@LucasLefevre LucasLefevre changed the title [IMP] image: do not swallow exception [IMP] image: do not swallow exception and remove GC Oct 17, 2025
Copy link
Collaborator

@pro-odoo pro-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo rebase-ff r+

@robodoo
Copy link
Collaborator

robodoo commented Oct 21, 2025

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Oct 21, 2025
If the image upload fails, it means there's a problem somewhere that
needs to be investiguated.

But we are currently try/catching the error to show a user-friendly message.

Several issues:

- The user doesn't care if the message is friendly or not: he wanted to
  upload an image and it doesn't work.
- the person investiguating the issue wants the full traceback to investiguate
  efficiently

Task: 5176795
Part-of: #7353
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
robodoo pushed a commit that referenced this pull request Oct 21, 2025
This commit removes the image file garbage collection mechanism.
Originally, files were deleted when their corresponding images were removed
from the spreadsheet.

However, this caused the files to become unavailable in the version history
and added unnecessary complexity to handle properly.

File deletion is now delegated to the integrator software, which is
responsible for cleaning up files when needed.

closes #7353

Task: 5176795
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
@robodoo robodoo added the 19.1 label Oct 21, 2025
@robodoo robodoo closed this Oct 21, 2025
hokolomopo pushed a commit that referenced this pull request Oct 23, 2025
This commit removes the image file garbage collection mechanism.
Originally, files were deleted when their corresponding images were removed
from the spreadsheet.

However, this caused the files to become unavailable in the version history
and added unnecessary complexity to handle properly.

File deletion is now delegated to the integrator software, which is
responsible for cleaning up files when needed.

closes #7353

Task: 5176795
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
@fw-bot fw-bot deleted the master-remove-image-catch-lul branch October 28, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants