Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check license button no longer works #527

Open
goneall opened this issue Jan 21, 2024 · 2 comments
Open

check license button no longer works #527

goneall opened this issue Jan 21, 2024 · 2 comments

Comments

@goneall
Copy link
Member

goneall commented Jan 21, 2024

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
Copy link
Member Author

goneall commented Jan 21, 2024

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
Copy link
Member Author

goneall commented Jan 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant