Open-event-frontend: 400 being encountered after accepting a role-invite

Created on 22 Apr 2019  路  7Comments  路  Source: fossasia/open-event-frontend

Describe the bug

When a user accepts a role-invite, he/she encounters a 400 error.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to Role-invite while the user is logged in
  2. Enter the invite token
  3. See error

Expected behaviour

It should've worked without any error

GIF

ezgif com-video-to-gif (4)

Desktop (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 16.04
  • Browser [e.g. chrome, safari] Chrome

Additional context

Working on it

bug

All 7 comments

The error trace :
Screenshot from 2019-04-22 23-09-42

@pradeepgangwar @CosmicCoder96 @ritikamotwani @iamareebjamal
The role-invite I accepted was of Moderator but since he won't have co-organisers access, he won't be able to access the event's details.

How about we also pass a "Role" name in the role-invite/accept-invite and if the accepted role is of other than organiser / co-organiser we simply re route them to the public page of the event?

@uds5501 Is it still present ?

@kushthedude Yes it does. But to get this done, I need to wait for mentor's reply

@uds5501 Go ahead

@iamareebjamal Perfect! I will get this done as soon I take down two issues in hand, won't take long!

Screenshot from 2019-06-10 10-49-50

Was this page helpful?
0 / 5 - 0 ratings