server icon indicating copy to clipboard operation
server copied to clipboard

BUG: server crash on error in application

Open Comoque1 opened this issue 9 months ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to localhost:3000
  2. Create a public space with public challenge
  3. Using a non member user create application directly to the challenge
  4. Using the admin of the challenge approve the application - the server crash image.png

Expected behavior User cannot apply on subspace, without being a member on parent.

Comoque1 avatar May 08 '24 14:05 Comoque1

@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: image.png

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 avatar May 10 '24 06:05 techsmyth

@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.). image.png

Comoque1 avatar May 21 '24 19:05 Comoque1

@Comoque1 this is an exception cascade issue, will need Svetlo to have look at this re why the error triggers a server crash...

techsmyth avatar May 21 '24 19:05 techsmyth

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?

Comoque1 avatar May 31 '24 09:05 Comoque1

Closing this as it is the same issue as #4618

techsmyth avatar Oct 20 '24 08:10 techsmyth