Skip to content

Conversation

@jeanmi151
Copy link
Contributor

When geonetwork return several meta (related) in the zip maelstro crash

this is a possible fix

otherwise it is also possible to add in the url ?withRelated=false during the metadata zip download, into here : https://github.com/camptocamp/python-geonetwork/blob/main/geonetwork/gn_api.py#L67

@jeanmi151 jeanmi151 requested a review from mki-c2c November 3, 2025 11:32
Copy link
Contributor

@mki-c2c mki-c2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, it's maybe not the most beautiful hack, but it is an efficient correction to the problem. Thanks for the fix.

@jeanmi151
Copy link
Contributor Author

closing this because of profit camptocamp/python-geonetwork#10

@jeanmi151 jeanmi151 closed this Nov 3, 2025
@jeanmi151 jeanmi151 deleted the fix_gn_return_multiple_meta_in_zip branch November 3, 2025 14:18
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.

3 participants