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

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

Open
adekock11 opened this issue Jan 2, 2024 · 1 comment
Open

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

adekock11 opened this issue Jan 2, 2024 · 1 comment
Labels

Comments

@adekock11
Copy link

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 adekock11 added the bug label Jan 2, 2024
@adekock11 adekock11 changed the title [15.0] Website Contact Us Form [15.0] website: Contact Us web page failing to migrate Jan 17, 2024
@pedrobaeza
Copy link
Member

Please do a PR amending that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants