OpenUpgrade icon indicating copy to clipboard operation
OpenUpgrade copied to clipboard

[15.0] website: Contact Us web page failing to migrate

Open adekock11 opened this issue 1 year ago • 1 comments

Module

website

Describe the bug

If the company address contains an "&", then you will see this traceback when doing the migration from 14.0 to 15.0:

OpenUpgrade: website: error in migration script /.../openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py: xmlParseEntityRef: no name

To Reproduce

Have an Odoo 14 and put a company address that contains an "&". When running the upgrade, you will get a traceback:

OpenUpgrade: website: error in migration script /.../openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py: xmlParseEntityRef: no name

Expected behavior

The company fields like street and street2 should be HTML Entity Encoded before being used in the post migration script.

adekock11 avatar Jan 02 '24 16:01 adekock11

Please do a PR amending that.

pedrobaeza avatar Apr 09 '24 10:04 pedrobaeza