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

HTTP 404 for static file fullcalendar.min.js, yarn dependency range not correct #1011

Closed
Ravenons opened this issue Apr 4, 2019 · 4 comments

Comments

@Ravenons
Copy link
Contributor

commented Apr 4, 2019

Bug description
Frontend is getting HTTP 404 when trying to load /static/fullcalendar/dist/fullcalendar.min.js, basically because version in package.json is "*", which installs recently released version 4 of the dependency, and that file is not there anymore. I solved it by specifying version "3" and installing the package again, which installs version "3.10.0" and solves the issue. I'm not submitting a PR for this, because I'm no expert on it and somebody may like to review dependencies for additional wildcards (I would say that's a bad practise)".

Steps to reproduce
Steps to reproduce the behavior:

  1. Install DefectDojo
  2. Open Network tab in Developer Tools in your favourite web browser
  3. Open DefectDojo and observe HTTP 404 for the specified file

Expected behavior
HTTP 200 for the specified file

Deployment method (select with an X)

  • Kubernetes
  • Docker
  • setup.bash / legacy-setup.bash

Environment information

  • Operating System: Debian 9.8 (stretch)
  • DefectDojo version: cce0532: Merge pull request #856 from devGregA/master [2019-01-28 10:29:22 -0600]
aaronweaver added a commit that referenced this issue Jun 26, 2019
Harcoding fullcalendar pkg version. Fixes #1011
@Maffooch Maffooch closed this Jun 26, 2019
@dragos-sh

This comment has been minimized.

Copy link

commented Jun 28, 2019

👍

Got the same:

nginx_1         | 2019/06/28 07:15:01 [error] 6#6: *39 open() "/usr/share/nginx/html/static/fullcalendar/dist/fullcalendar.min.js" failed (2: No such file or directory), client: <client_ip>, server: , request: "GET /static/fullcalendar/dist/fullcalendar.min.js HTTP/1.1", host: "defect-dojo-[]", referrer: "https://defect-dojo-[]com/login?next=/"
@Maffooch

This comment has been minimized.

Copy link
Contributor

commented Jun 28, 2019

@dragos-sh Are you still having this issue on the current dev branch?

@dragos-sh

This comment has been minimized.

Copy link

commented Jun 28, 2019

@Maffooch Hi, I am seeing this message while I am using the version from the master branch. Thank you.

@Maffooch

This comment has been minimized.

Copy link
Contributor

commented Jun 28, 2019

@dragos-sh Good deal. Not sure when that fix will make it to master branch, but it is currently in the dev branch. Thank you for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.