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

UI-8803 - Support namespaces in XML calculated members #120

Merged

Conversation

antoinetissier
Copy link
Collaborator

@antoinetissier antoinetissier commented Oct 12, 2023

See UI-8803, and the added test: the problem is that the calculatedMember tag in the customer's XML is prefixed with a namespace (ns2).
Adding a tag processor allows to remove it from the parsed JSON.

Note that when migrating all the way from 4.3 to 5.1, then:

  • during 4.3 to 5.0, the prefix is removed
  • it it not added again in 5.0 to 5.1

I honestly think it's fine, and would prefer for clients to report an issue before trying to preserve it.
For example, in this example from the customer, ns2 is actually a dummy namespace that should only be used in test cases.

@antoinetissier antoinetissier added the bug Something isn't working label Oct 12, 2023
@antoinetissier antoinetissier self-assigned this Oct 12, 2023
Copy link
Collaborator

@Nouzbe Nouzbe left a comment

Choose a reason for hiding this comment

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

👍

@Nouzbe Nouzbe assigned antoinetissier and unassigned Nouzbe Oct 16, 2023
@antoinetissier antoinetissier merged commit ed4a00a into main Oct 16, 2023
6 checks passed
@antoinetissier antoinetissier deleted the personal/a.tissier/UI-8803-parse-cms-with-namespace branch October 16, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working small PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants