-
Notifications
You must be signed in to change notification settings - Fork 616
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
Fix elementFormDefault="qualified" regression #917
Conversation
Types were not properly qualified
This test is based on a simplified real world wsdl
c08fdfd
to
369ff9a
Compare
Given the slow pace of incorporating changes, I've created a gem that patches this issue. All you have to do is include it in your gem 'savon_fixes' You can find the gem here: https://github.com/lukaso/savon_fixes. It currently covers off these issues and PRs: #916, #899, #820, #895, #862, #905 and #549 (they are all duplicates). I haven't yet tested it in anger, but all tests pass, so please feedback if there are any issues. Adaptations of PRs here are also welcome. |
@lukaso thanks! I apologize for the long turnaround. It looks like you did this by the book and added a failing test. I read through this change and can confirm it makes it pass now. Just acknowledging this while I dig into the details to understand the intended behavior and the bug. |
OK I reread #916 and it was mentioned there, but the most succinct way to summarize the actual/expected behavior is the diff of the test output before and after the fix in this PR: Given a WSDL with This LGTM, I'll check if I can confirm the jruby failure is bogus and merge this in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Types were not properly qualified This test is based on a simplified real world wsdl
Types were not properly qualified This test is based on a simplified real world wsdl
Types were not properly qualified This test is based on a simplified real world wsdl
Thank you! |
Types were not properly qualified
What kind of change is this?
Bugfix
Did you add tests for your changes?
Yes. I've now added a breaking test which ensures the message is properly encoded.
Summary of changes
This fixes a bug raised in #916. This means more recent versions of Savon do not work properly in certain specific circumstances when elements are embedded in types.
Other information
The test is based on a real-world wsdl file in which messages are being incorrectly "qualified".