-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue warning when contact is not found #187
Comments
Looks like this is already covered in the mdJson reader. Contacts are always (I think) referenced through FGDC and sbJson readers do not draw from the contacts array. For these readers contacts are added as they are encountered in the input file. Writers are also different. They always check for valid |
I have some reports of this happening where a contact has a memberOfOrganization array and the id within that array is not found anywhere within the contacts array. We can't check for this in the mdJSON schema, so we might want to issue a warning during the translation. Maybe when reading mdJSON? |
Now I see through the confusion. To test |
Done. |
Currently we generally ignore instances when contacts are not found in the contacts array(getContact methods). It would be useful to issue a WARNING when this occurs, especially when #183 is implemented.
The text was updated successfully, but these errors were encountered: