sonarqube-licensecheck icon indicating copy to clipboard operation
sonarqube-licensecheck copied to clipboard

Cannot delete Project Licenses if there is only one entry

Open ashrafmr opened this issue 1 year ago • 1 comments

Nothing happens at all when clicking the 'Delete' button. Tried action on Firefox and Edge browsers.

image

A POST request is sent, https://*****/api/settings/set Body: key=licensecheck.project-license-set

Response: {"errors":[{"msg":"Either \u0027value\u0027, \u0027values\u0027 or \u0027fieldValues\u0027 must be provided"}]}

XHRPOSThttps://*****/api/settings/set [HTTP/1.1 400 158ms]

Uncaught (in promise) Response { type: "basic", url: "https://*****/api/settings/set", redirected: false, status: 400, ok: false, statusText: "", headers: Headers(7), body: ReadableStream, bodyUsed: false }

ashrafmr avatar Mar 16 '23 13:03 ashrafmr