Identifying the dashboard crashing issue in the ScholarX app

There’s an issue with accessing the admin panel and this thread is about debugging the issue and fixing the issue.

2 Likes

First I couldn’t reproduce the bug locally then I found that in the spring boot app the static files are under another file called dist like static/dist. but if we didn’t put the bundle.js under the dist it works fine.

I think that might be the issue. There are two changes to be done in order to serve the files under static.

  1. Update the webpack config
  2. Update the travis script in the backend

But I’m not sure about this but we can give it a try.

1 Like

After sending the PR’s for the above issues, we had to do a hotfix and release a minor version.
We released the v1.2.1 with that release admin is working now.

PRs of above issues:

Release PRs:

3 Likes

Thanks, @anjisvj ! I tested it, and it works fine now! I guess the problem might be having linked two bundle.js files.

Also, this has been fixed the twice loading issue as well.

Well done @anjisvj !

2 Likes

Amazing work @anjisvj
:clap:

1 Like