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

ECHO10 URL Type Modifications #274

Open
jenny-m-wood opened this issue Feb 23, 2024 · 1 comment
Open

ECHO10 URL Type Modifications #274

jenny-m-wood opened this issue Feb 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jenny-m-wood
Copy link
Collaborator

Describe the bug
ECHO10 only has a single URL Type field (not a Content Type, Type, and Subtype field). Providers sometimes provide a combination of the Content Type, Type, and Subtype in the single URL Type field, but pyQuARC does not currently support this.

To Reproduce
Steps to reproduce the behavior:

  1. Open the test echo10 collection metadata file in pyQuARC
  2. Enter a value of "VIEW RELATED INFORMATION : GENERAL DOCUMENTATION" or "PublicationURL : VIEW RELATED INFORMATION" in the Online Resources/OnlineResource/Type field
  3. See GCMD inconsistency errors

Expected behavior
No error is given for echo10 records that provide a URL type that is a combination of the Content Type and Type or the combination of Type and Subtype separated by ":", " : ", ": ", " :" as long as the combination is in the correct GCMD hierarchy.

Outputs
Acceptable values (i.e. no GCMD error outputs) for echo10 would include:

"Type"
"Subtype"
"Type : Subtype"
"Type: Subtype"
"Type :Subtype"
"Type:Subtype"
"Content Type : Type"
"Content Type :Type"
"Content Type: Type"
"Content Type:Type"

Unacceptable values (i.e. GCMD error outputs) for echo10 would include, but are not limited to:

  • Values not in the GCMD controlled list
  • Combination of values that don't adhere to the GCMD hierarchy (e.g. "VIEW RELATED INFORMATION : DIRECT DOWNLOAD")
  • "Content Type : Subtype"
  • "Type : Content Type"
  • "Subtype : Type"
  • "Subtype : Content Type"
@smk0033
Copy link
Contributor

smk0033 commented Oct 3, 2024

Checked on 10/3, still seems to be an issue

@smk0033 smk0033 added the bug Something isn't working label Oct 3, 2024
@binni979 binni979 self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants