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

(URGENT) undefined method `item_order' for an instance of String #59

Closed
ronaldtse opened this issue Aug 22, 2024 · 3 comments
Closed

(URGENT) undefined method `item_order' for an instance of String #59

ronaldtse opened this issue Aug 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

From a number of migrations:

We encounter errors like these:

  1) Ogc::Gml::Curve round-trips Curve-ArcByCenterPoint.xml
     Failure/Error:
       output = Ogc::Gml::Curve.from_xml(input).to_xml(
         pretty: true,
         declaration: true,
         encoding: "utf-8"
       )
     
     NoMethodError:
       undefined method `item_order' for an instance of String
     # ./spec/ogc/gml/curve_spec.rb:23:in `block (3 levels) in <top (required)>'

The item_order issue is a problem encountered in a number of migrations including in:

I think the ogc-gml gem is the simplest place to reproduce and fix this because it does not utilize any advanced features of lutaml-model such as "model" or "custom methods".

@ronaldtse ronaldtse added the bug Something isn't working label Aug 22, 2024
@kwkwan
Copy link
Contributor

kwkwan commented Aug 23, 2024

Similar error when migrate xmi to use lutaml-model:

@HassanAkbar
Copy link
Member

@ronaldtse The issue has been fixed and also verified in the linked repos.
Is there something else left to be done in the context of this ticket? or should I close this?

@ronaldtse
Copy link
Contributor Author

Let’s close it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants