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

Tests marked as DeveloperWontFix #1222

Open
prathyushreddylpr opened this issue Dec 11, 2023 · 0 comments
Open

Tests marked as DeveloperWontFix #1222

prathyushreddylpr opened this issue Dec 11, 2023 · 0 comments

Comments

@prathyushreddylpr
Copy link
Contributor

Tests:
org.apache.cxf.javascript.types.SerializationTest.testDeserialization
org.apache.cxf.javascript.types.AttributeTest.testDeserialization

Real PR:
apache/cxf#1516

Root Cause:
The tests are failing because when the strings are converted to XML in the tests, some of the attributes' values become null, this is because of the inconsistent marshaling behavior within JAXB.

Reason for DeveloperWontFix:
We can fix the flakiness by defining propOrder to the Class and this will trigger a more consistent marshaling behavior within JAXB. When propOrder is defined, JAXB takes additional steps to ensure all properties are accounted for and processed systematically, which it might not do when relying on the default (implicit) order. Since this is a JAXB implementation issue, the developer says it should be reported to JAXB.

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

No branches or pull requests

1 participant