metadata sharing module issue

Hi there,

I have got an error when trying to export concepts via metadata sharing module. Here is the message: org.openmrs.api.ValidationException: 'ConceptAttributeType[hashCode=c8610a96,uuid=996b8076-2469-430d-bcfc-1a53697da84b]' failed to validate with reason: handlerConfig: Invalid configuration: {0}

It looks like it comes from the fact I added new concept attribute types. Because when I removed those attribute types, the export work well. Please note that I have tried to include in the same export package the concept attribute types., but it didn’t resolve the problem.

Thanks for your feedback,

in cc @mksd

Regards Amine

Without looking into the details I would guess that MDS does bump into a member of Concept (namely ConceptAttribute) that it doesn’t know yet how to handle, and this fails the process altogether. Which makes sense since concept attributes and concept attribute types are fairly recent in OpenMRS.

@raff to confirm.

If I’m right, then someone would have to go and expand on MDS for it to know how to handle this new part of the Concept data model.

As I happen to know your need and use case I would suggest that you wait for this to be ready enough to be tested and used, rather than investing time and resource in expanding on MDS (even though that would be nice too!)

1 Like