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

sbJson reader execution fail tests #146

Closed
1 of 6 tasks
stansmith907 opened this issue Oct 2, 2017 · 2 comments
Closed
1 of 6 tasks

sbJson reader execution fail tests #146

stansmith907 opened this issue Oct 2, 2017 · 2 comments
Labels
bug Unexpected problem or unintended behavior reviewed

Comments

@stansmith907
Copy link
Contributor

stansmith907 commented Oct 2, 2017

Some sbJson input is failing due to tests in the sbJson reader. These are the current tests. We should decide which should remain in the code.

  • contact.contactName missing
  • contact.contactType missing
  • contact.contactType not [ 'person' | 'organization' ]
  • weblink.uri missing
  • weblink.type missing Note: weblinks of type = 'browseImage' are placed in browseGraphic objects, all others are placed in additionalDocument.citation.onlineResource objects.
  • weblink.type missing Alternative: place all non-browseImage weblink types, including nil in additional documents.
@dwalt
Copy link
Collaborator

dwalt commented Oct 2, 2017 via email

@stansmith907 stansmith907 added question Information is needed, includes user support requests bug Unexpected problem or unintended behavior labels Oct 3, 2017
@stansmith907
Copy link
Contributor Author

stansmith907 commented Oct 3, 2017

Consensus from group meeting:

  • If contact.contactName missing - drop contact record and continue processing
  • If contact.contactType missing - default contactType to person
  • If weblink.uri missing - drop weblink and continue processing
  • unless weblink.type is 'browseImage' - process as additionalDocument

@stansmith907 stansmith907 added reviewed and removed question Information is needed, includes user support requests labels Oct 3, 2017
stansmith907 added a commit to stansmith907/mdTranslator that referenced this issue Oct 3, 2017
@jlblcc jlblcc closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior reviewed
Projects
None yet
Development

No branches or pull requests

3 participants