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

Allow merging null/optional values #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sirhcel
Copy link

@sirhcel sirhcel commented Sep 9, 2020

The transparency software fails to merge OCMF data where optional fields are not set. For example the gateway firmware version GV. This results in the verification button turning red and giving unknown error/Unbekannter Fehler.

To my understanding, optional fields in OCMF data should be merged just fine. With this patch applied, I could successfully verify example data where GV is not set.

Optional OCMF fields like GV should be merged successfully even when
their values are null.
@sirhcel sirhcel force-pushed the feature/merge-null-verification-data branch from 30ce854 to 7c31cac Compare September 9, 2020 14:53
@sirhcel
Copy link
Author

sirhcel commented Sep 9, 2020

Sorry, this commit should have gone on master in the first place.

@wm-mjovic wm-mjovic added the in review This is being reviewed label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review This is being reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants