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

Missing elements in :order! #238

Closed
woto opened this issue Nov 3, 2011 · 3 comments
Closed

Missing elements in :order! #238

woto opened this issue Nov 3, 2011 · 3 comments
Milestone

Comments

@woto
Copy link

woto commented Nov 3, 2011

After updating to 0.9.7 got this error.
Missing elements in :order! ["ins0:phone", "ins0:title", "ins0:seller", "ins0:fullTitle", "ins0:buyer", "ins0:INN", "ins0:KPP", "ins0:ID"]

gyoku (0.4.4) lib/gyoku/hash.rb:48:in `order'
gyoku (0.4.4) lib/gyoku/hash.rb:35:in `iterate_with_xml'
gyoku (0.4.4) lib/gyoku/hash.rb:12:in `to_xml'
gyoku (0.4.4) lib/gyoku.rb:9:in `xml'
savon (0.9.7) lib/savon/soap/xml.rb:197:in `body_to_xml'
savon (0.9.7) lib/savon/soap/xml.rb:156
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
builder (2.1.2) lib/builder/xmlbase.rb:31:in `tag!'
savon (0.9.7) lib/savon/soap/xml.rb:156
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
builder (2.1.2) lib/builder/xmlbase.rb:31:in `tag!'
savon (0.9.7) lib/savon/soap/xml.rb:174:in `tag'
savon (0.9.7) lib/savon/soap/xml.rb:156
builder (2.1.2) lib/builder/xmlbase.rb:134:in `call'
builder (2.1.2) lib/builder/xmlbase.rb:134:in `_nested_structures'
builder (2.1.2) lib/builder/xmlbase.rb:58:in `method_missing'
builder (2.1.2) lib/builder/xmlbase.rb:31:in `tag!'

if i rewrite code to
:order! => ["ins0:currency_code", "ins0:currencyName", "ins0:rate"]
from old
:order! => ["currency_code", "currencyName", "rate"]
then it works fine

Is this a bug or a new rule?
Sorry for bad English.

@greyblake
Copy link

I've got the same.

@Twistedpear
Copy link

Same issue, only on some requests though... Others work fine with the :order! attrib set

@rubiii
Copy link
Contributor

rubiii commented Jun 6, 2012

thanks! released as v0.9.11.

@rubiii rubiii closed this as completed Jun 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants