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

Parse out of order ListBucket response elements #189

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Conversation

mlanoe
Copy link

@mlanoe mlanoe commented Nov 22, 2023

Currently, jclouds assumes that the "ID" must occur before the "DisplayName" tag. If the XML body does not adhere to this order, the parser throws a NullPointerException.

Scaleway is a cloud provider that does not adhere to this order and returns the "DisplayName" tag before the "ID" tag. The patch changes the parser to not depend on the order of the tags.

See commit 04feb8f for a similar fix

Currently, jclouds assumes that the <ID> must occur before the
<DisplayName> tag. If the XML body does not adhere to this order, the
parser throws a NullPointerException.

Scaleway is a cloud provider that does not adhere to this order and
returns the <DisplayName> tag before the <ID> tag. The patch changes the
parser to not depend on the order of the tags.

See commit 04feb8f for a similar fix
@gaul gaul merged commit 6455fd8 into apache:master Dec 9, 2023
1 check passed
@gaul
Copy link
Member

gaul commented Dec 9, 2023

Thank you for your contribution @mlanoe!

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.

2 participants