spdx / spdx-online-tools

Source for the website providing online SPDX tools
https://tools.spdx.org
Apache License 2.0
60 stars 57 forks source link

check license button no longer works #527

Open goneall opened 9 months ago

goneall commented 9 months ago

After updating to the latest release (1.2.3), clicking the check license button does not return anything.

In looking in the browser debug console message, it looks like it can't find the file https://tools.spdx.org/static/js/utils.js.

Perhaps the get static didn't execute successfully or it is in the wrong place.

Below is the console output:



submit_new_license/:422 
 GET https://tools.spdx.org/static/js/utils.js net::ERR_ABORTED 404 (Not Found)
submit_new_license/:896 Uncaught ReferenceError: findLicenseMatch is not defined
    at HTMLButtonElement.<anonymous> (submit_new_license/:896:5)
goneall commented 9 months ago

On the production server, there is a static directory, but it doesn't contain the utils.js.

Here's the contents of /spdx/src/app/static/js:

bootstrap.js      editor          jquery-ui.min.js  npm.js
bootstrap.min.js  html2canvas.js  jquery.min.js     warning.js
goneall commented 9 months ago

I could not locate the file utils.js in the docker instance.

I tried running the collect static command manually - here's the output: collect-static-output.txt