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

Resolves #2911 Added check for edge case when providerMetadata fields aren't provided #3222

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

jdaigneau5
Copy link
Contributor

Summary

Added checks to account for situations when a record doesn't have providerMetadata fields. These fields are technically not required by the schema, but are generated by CVE-Services when records are published, EXCEPT for records created by the Secretariat endpoint. So this change accounts specifically for that edge case.

Screenshot 2024-10-25 at 12 04 54 PM

Important Changes
src/components/AdpVulnerabilityEnrichment.vue

  • Added check for missing providerMetadata

@athu-tran athu-tran self-requested a review November 19, 2024 01:50
@athu-tran athu-tran linked an issue Nov 19, 2024 that may be closed by this pull request
@athu-tran athu-tran merged commit 44b4b43 into int-main Nov 19, 2024
athu-tran added a commit that referenced this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

TypeError and blank page if no providerMetadata.shortName for ADP
2 participants