Skip to content

Conversation

@13-Sonal
Copy link

@13-Sonal 13-Sonal commented Jun 6, 2025

Bug Report: NetSuite::Support::Country ignores lowercase ISO country codes
Issue Reported : #619

The NetSuite::Support::Country initializer only maps uppercase ISO country codes (e.g., "IN"), but fails silently for lowercase inputs (e.g., "in"), resulting in an invalid @id.

For Ex-
NetSuite::Records::Address.new(
addressee: "Test Company",
country: "IN"
)

=> @id = "_india"

NetSuite::Records::Address.new(
addressee: "Test Company",
country: "in"
)

=> @id = "in" (invalid)

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

Successfully merging this pull request may close these issues.

1 participant