Closed SamuraiAku closed 1 year ago
julia> testdoc= SpdxDocumentV2() Version: SPDX-2.2 DataLicense: CC0-1.0 SPDXID: SPDXRef-DOCUMENT CreationInfo: julia> writespdx(testdoc, "testdoc.spdx.json") ERROR: KeyError: key "relationships" not found Stacktrace:
But writing a TagValue file does not have this problem.
Workaround is to make sure there is a relationship present:
push!(testdoc.Relationships, SpdxRelationshipV2("A DESCRIBES B")) julia> writespdx(testdoc, "testdoc.spdx.json")
Resolved in ef89c30
But writing a TagValue file does not have this problem.
Workaround is to make sure there is a relationship present: