Open tsteenbe opened 3 months ago
ORT's LicenseResolver does not seem to be capable of resolving of SPDX expression where left and right side of an AND are the same
This license-choice-bug.zip contains all ORT results and reports for the test project I created from real world ORT scan to create a test case.
Steps to reproduce the behavior:
mkdir license-choice-bug && license-choice-bug
orthw init file://${PWD}/evaluation-result.json
orthw report-webapp
Maven:jakarta.activation:jakarta.activation-api:2.1.2
ORT results webapp report where the effective license for Maven:jakarta.activation:jakarta.activation-api:2.1.2 is show as just BSD-3-Clause
Agreed with @oss-review-toolkit/core-devs that we always want to simplify AND expressions like this; probably some "normalization" is required to post-process license choices.
AND
ORT's LicenseResolver does not seem to be capable of resolving of SPDX expression where left and right side of an AND are the same
To Reproduce
This license-choice-bug.zip contains all ORT results and reports for the test project I created from real world ORT scan to create a test case.
Steps to reproduce the behavior:
mkdir license-choice-bug && license-choice-bug
orthw init file://${PWD}/evaluation-result.json
orthw report-webapp
and expandMaven:jakarta.activation:jakarta.activation-api:2.1.2
in the Table tab.Expected behavior
ORT results webapp report where the effective license for Maven:jakarta.activation:jakarta.activation-api:2.1.2 is show as just BSD-3-Clause
Environment