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][FIX] base_import_pdf_by_template: Don't fail on fetchmail #1134

Merged

Conversation

pedrobaeza
Copy link
Member

If you have a bad formatted PDF that comes from the mail, the cron process may fail trying to parse it, and block the whole fetching indefinitely.

Let's avoid the crash masking it behind the existing context key.

@Tecnativa TT55481

@pedrobaeza pedrobaeza added this to the 17.0 milestone Mar 17, 2025
@OCA-git-bot
Copy link
Contributor

Hi @victoralmau,
some modules you are maintaining are being modified, check this out!

If you have a bad formatted PDF that comes from the mail, the cron
process may fail trying to parse it, and block the whole fetching
indefinitely.

Let's avoid the crash masking it behind the existing context key.

TT55481
@pedrobaeza pedrobaeza force-pushed the 17.0-fix-base_import_pdf_by_template branch from c7ac5fa to 673e640 Compare March 17, 2025 08:29
Copy link

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

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

@pedrobaeza @victoralmau What do you think?

@pedrobaeza
Copy link
Member Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-1134-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 757a7f1 into OCA:17.0 Mar 17, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 30cd356. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 17.0-fix-base_import_pdf_by_template branch March 17, 2025 11:22
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.

4 participants