Unexpected behavior comparing SPDX documents with no local LicenseRef text
Open
Nobody has claimed this yet.
wontfix
- Dominant language
- Java
- Stars
- 71
- Forks
- 44
- Avg merge
- 12h 54m
- Merged PRs (30d)
- 7
Description
When comparing 2 SPDX documents with a LicenseRef containing no text, the comparison of those LicenseRef's is false, but no explanation is given.
We probably do not want them to match since we don't have the text to compare, but we could list them in the Extracted Licenses tab as EMPTY.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the SPDX document comparison logic for LicenseRef values with no local text, then inspect how those licenses are represented in the Extracted Licenses tab. Reproduce the false comparison and determine whether the completed behavior should explain the mismatch, display the entries as EMPTY, or both.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100