CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services

Metadata checks in Project Payload Validator

Open
#347 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The function currently checks metadata assuming it is a string, but metadata can also be a language map. It validates that the value in each label-value pair is a non-empty string; however, some values can legitimately be empty. This check is causing the function, which runs when creating a new project, to fail.

Image

This is the representation of metadata from a manifest import.
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.