Skip to content

Conversation

@diagnoza
Copy link
Contributor

Pretty much a copy of https://github.com/odoo/upgrade/pull/5916 since this file was moved to upgrade-util since then.

We handle the most common cases and as a last resort we call convert_domain_leaf() in order to convert a domain to a valid Python expression. If that fails, we may confidently state that the given domain is invalid, thus we skip its adaptation altogether.

@robodoo
Copy link
Contributor

robodoo commented Apr 25, 2024

@diagnoza diagnoza requested review from a team and aj-fuentes April 25, 2024 14:23
@diagnoza diagnoza force-pushed the master-skip_invalid_domains-owi branch from af3b294 to aa103ec Compare May 2, 2024 14:22
@KangOl
Copy link
Contributor

KangOl commented May 2, 2024

Can you refer to the right version in the commit message?

We handle the most common cases and as a last resort we call convert_domain_leaf()
in order to convert a domain to a valid Python expression. If that fails, we may
confidently state that the given domain is invalid, thus we skip its
adaptation altogether.
@diagnoza diagnoza force-pushed the master-skip_invalid_domains-owi branch from aa103ec to 5db53df Compare May 2, 2024 15:20
@aj-fuentes aj-fuentes changed the title [FIX] base/saas~16.5: do not adapt invalid domains [FIX] base/saas~17.0: do not adapt invalid domains May 3, 2024
@KangOl
Copy link
Contributor

KangOl commented May 3, 2024

@robodoo r+

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