Skip to content

'Has a Value' filter sometimes displays empty copyright attributes #277

Description

@johnmhoran

When I select the Has a Value filter for one of the copyright attributes in the Table View, sometimes (not yet sure how often or if always) a row is displayed with no value for the filtered attribute. Two examples I've seen:

  • select Has a Value for Copyright Authors -- row is displayed where that column is empty but a value is present in Copyright Statements, Copyright Holders and the start and end line columns.
  • select Has a Value for Copyright Statements -- row is displayed where that column is empty but a value is present in Copyright Authors and the start and end line columns (Copyright Holders is also empty).

Seems like the Has a Value filter for copyright attributes might be examining the entire set of nested key-value pairs inside the scan's copyrights value, e.g.,

      "copyrights": [
        {
          "statements": [],
          "holders": [],
          "authors": [
            "Noah Friedman <friedman@prep.ai.mit.edu>"
          ],
          "start_line": 2,
          "end_line": 5
        }
      ],

(These observations are based on scans of e2fsprogs-1.44.2 created with ScanCode v2.9.2.)

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions