server
server copied to clipboard
BUG: server crash on error in application
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to localhost:3000
- Create a public space with public challenge
- Using a non member user create application directly to the challenge
- Using the admin of the challenge approve the application - the server crash
Expected behavior User cannot apply on subspace, without being a member on parent.
@Comoque1 just tried this flow out. The client gave the appropriate message to first join the parent space - so that seems to be ok. I also tried going to the apply directly + then got the following page:
So something goes wrong in the client - low priority as users should not be able to get to this page. So please retest and if flow works for users then close...
@techsmyth , you are right, at the time of the issue has been raised, the flows on the client were broken, so now using the client, cannot be reproduce (at least not a direct flow).
Still, if for some reason, a user has or creates an application on a subspace, without being a space member , and someone approve it, the server crash (tested on dev env.).
@Comoque1 this is an exception cascade issue, will need Svetlo to have look at this re why the error triggers a server crash...
Tested locally with latest changes and the server still crash. @hero101 , could you please have a look at the issue, when you have the time?
Closing this as it is the same issue as #4618