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

WFCORE-7004: use custom parser over default #6206

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

michpetrov
Copy link
Contributor

Issue: WFCORE-7004

The default parseElement method should ideally never be accessed after this fix but in case it is I assume it's better to throw an exception rather then having one thrown by the XML reader because that makes it look like something's wrong with the XML file.

@yersan
Copy link
Collaborator

yersan commented Oct 2, 2024

@michpetrov Would it be possible to add a test case for the use case described in the Jira?

@michpetrov
Copy link
Contributor Author

@yersan you mean a test for the parser? Do we have something like that already? I'd rather not have to mock up a subsystem from scratch.

@michpetrov
Copy link
Contributor Author

@yersan added the test

@yersan yersan added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Oct 14, 2024
@yersan yersan merged commit f8eca17 into wildfly:main Oct 14, 2024
12 of 13 checks passed
@yersan
Copy link
Collaborator

yersan commented Oct 14, 2024

Thanks @michpetrov for the fix and adding a test case, CC @pferraro since you are now refactorizing this class

@michpetrov michpetrov deleted the wfcore-7004 branch October 16, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants