Skip to content

added pedigree commit list deserializer#833

Open
kowalej1-roche wants to merge 1 commit into
CycloneDX:masterfrom
kowalej1-roche:fix/pedigree-commit-list-xml-deserializer
Open

added pedigree commit list deserializer#833
kowalej1-roche wants to merge 1 commit into
CycloneDX:masterfrom
kowalej1-roche:fix/pedigree-commit-list-xml-deserializer

Conversation

@kowalej1-roche
Copy link
Copy Markdown

The changes fix a deserialization bug for Pedigree.commits when parsing XML BOMs.

Root cause: When commits appear inside a tool component's pedigree in , they go through an intermediate ToolInformationDeserializer that converts XML to JsonNode. In that path, ...
becomes {"commit": {...}} (an object node), not a JSON array. The standard Jackson list deserializer can't handle this wrapped-object format.

@kowalej1-roche kowalej1-roche requested a review from a team as a code owner May 18, 2026 11:10
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 6 complexity

Metric Results
Complexity 6

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant