Open bduranc opened 5 years ago
Thanks for the clear explanation @bduranc . BTW i'm moving this to the service repo, since that behavior is the result of the preview API that is called after each change during the curation activity.
Confirmed using the steps above - this is still an issue.
Tested following steps above before adding label. Still an issue.
Issue Type: Bug Issue Description:
I was attempting to update a file's discovered license on a definition using the SPDX expression editor. But when I did that, it also changed the definition's "Declared License" field to "NOASSERTION".
The Declared License on this definition was set by me through a previous curation: https://github.com/clearlydefined/curated-data/pull/2063/commits/b0f91668769d2e0a01598a706b5ffb816f152cfd. My intention was not to change this field again.
Steps to Reproduce:
Go to the following definition: https://clearlydefined.io/definitions/git/github/jruby/jruby/8a269e34ff3d242ec90fb08061f79c2757a5e157
Filter by the following license expression: "EPL-1.0 OR (GPL-2.0-only OR LGPL-2.1-only)"
On the file JRubyPOSIXHandler.java, change the existing license from "EPL-1.0" to "EPL-2.0" (as per actual license header, but leave other existing parts of the file's license expression in tact).
Wait a few seconds and you should see the proposed change to the file displayed in the UI (highlighted in blue), but the definition's Declared License field is now changed to "NOASSERTION".
Further Detail Operating System: Windows Browser: Chrome 76.0 (64-bit)