Hi. Is there a reason that PersonService doesn't implement OpenmrsService?
I just spent all afternoon trying to figure out why MetadataSharing can't import a RelationshipType, and its because in MetadataSharing's OpenmrsClassScanner, initServiceSaveMethodsCache calls getClasses which thinks PersonService isn't an OpenmrsService because it doesn't implement OpenmrsService, which then results in none of the 'save' methods in PersonService being added to the MetadataSharing import method cache, so importing RelationshipTypes and PersonAttributeType don't work. Is the solution to explicitly look for PersonService in the matcher in the OpenmrsClassScanner, or is it to just have PersonService extend OpenmrsService? If this should be explicitly handled in MetadataSharing, i'll make the change. d _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

