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

MISP2 fails on processing listClients response when refreshing producers #22

Open
urmetj opened this issue Jun 25, 2024 · 2 comments
Open

Comments

@urmetj
Copy link

urmetj commented Jun 25, 2024

Processing of the listClients respose from Security Server fails with this error message:

[XRoadRestQuery,ERROR] fetch; IOException while trying to deserialize response
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "fields_for_string_format" (class ee.aktors.misp2.util.xroad.rest.model.ListClientsResponse$ProducerInfo$Id), not marked as ignorable (5 known properties: "member_code", "member_class", "xroad_instance", "subsystem_code", "object_type"])

The error can be reproduced by refreshing the producers list (https://github.com/nordic-institute/misp2/blob/develop/docs/misp2_manager_guide.md#311-refreshing-x-road-producers-list)

It looks like the changes made for MISPDEV-82 (4f1d284) missed ee.aktors.misp2.util.xroad.rest.model.ListClientsResponse - it needs a similar change to what was made to ListMethodsResponse.

@raits
Copy link
Contributor

raits commented Jun 26, 2024

Thank you for the report @urmetj!

I was able to reproduce the issue. It seems that it is a bug with the X-Road Security Server itself. I have created a bug ticket for it and we will try to resolve it for 7.5.0: https://nordic-institute.atlassian.net/browse/XRDDEV-2654

@urmetj
Copy link
Author

urmetj commented Jun 26, 2024

Thanks @raits!

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

No branches or pull requests

2 participants