Closed jeredfloyd closed 2 years ago
thanks. I'll take a look.
I updated this with PR #17 that should fix this. The default behavior is to now omit the invalid issuers and return an additional error showing that the issuer is being omitted.
The original idea was the 'maintained' Directories would employ their own validation and that failures were likely come from developers building smaller custom directories - so it made sense to fail the entire thing until the developer got it correct.
Thanks for the detailed issue submission.
Fantastic; thanks!
Problem: The 2022-06-07 VCI Directory snapshot is malformed (strings instead of numbers, see below) for a single Issuer entry. This causes the entire Directory load to fail despite these errors not being noted as fatal.
Desired Behavior: An issuer entry with data format errors should cause that Issuer to be omitted and the rest of the Directory to load normally.
Steps to reproduce:
Output:
Expected Output:
directory size: 89
Data error from 2022-06-07 load: