Thursday, May 28, 2026
2 changes · 17.0
Resolved issues and error corrections
This update resolves a test failure related to how data is processed for Italian tax reporting (l10n_it_edi). The fix corrects an issue where test data was incorrectly formatted, causing a base64 validation error. This ensures the test suite runs smoothly and maintains the functionality of the Italian tax reporting module.
Original PR description
This commit fixes an error when running the `test_edi_import` test on Python 3.14, which is stricter about base64 validation. Ultimately, the root issue was that raw test content was being passed to the `datas` field of an attachment when a base64 representation was actually expected (which is obviously invalid base64). Passing it via the `raw` field instead correctly handles the raw binary data. runbot-939133
This update resolves a technical issue causing errors when displaying the Instagram snippet on iOS Chrome browsers. The problem stemmed from a change in how Chrome communicated data, requiring a simple adjustment to our code to correctly handle the received information. This ensures the Instagram snippet displays correctly for all users.
Original PR description
Scenario:
- insert Instagram Page snippet
- using iOS chrome browser (reproduced in iOS 26.3, google chrome 146)
visit that page logged in as a internal user or in ?debug=assets (so
traceback are shown)
Result: 3 tracebacks errors are shown with error "Uncaught Promise >
JSON Parse error: Unexpeced identifier "object".
Cause: probably since this change:
https://chromium.googlesource.com/chromium/src/+/9629a16a7ab0b91c59ecaa9fc8934db3d6c83ba3%5E%21/
chrome on iOS is sending message with this object as data:
{ "command": "registerAsChildFrameAck", "remoteFrameId": "d905013d…" }
but the instagram code is expecting a stringified JSON.
Fix: ignore message data that are object.
opw-5930717