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

[BUG] - User unable to create events due to missing organization id #561

Closed
harshkumarkhatri opened this issue Mar 30, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@harshkumarkhatri
Copy link

Issue Description: When the user has registered in the app, he is taken to the screen where he is supposed to select an organization or create one. If we try to hard refresh the app while we are on the join organization screen then it will re-start the app and on the basis of conditions that are set, it will take us to the homepage which is the news feed screen. Ideally, it should take us to the event screen once we have chosen the organization. The circular progress indicator keeps on loading{This issue is being worked on} and it feels like the news will load any second but as no organization is joined, the news never loads. This breaks some of the features which we want the app to have.
Continuing this issue, if we head to the event screen and try to create an event, the app won't allow us to create a new event as the event needs an organization id. We are not provided with any snackbar or pop-up saying that we are not having an organization id, and no matter how many times we press the floating action button to create the event, nothing happens. An error occurs in the debug console, ss to which I have attached.

Issue Severity: High/Major-Impacting Events

Environment Details: Register/Login->Join organisation->Refresh from editor
It takes us to the Newsfeed page(Homepage) rather than taking us to the event page. If we visit the event page and try creating an event, an error occurs in debug console. The user is not informed that he cannot create an event.

Observed Behaviour:

  • User is taken to news feed screen(homepage) in place of event page or join organisation page if he is missing organisation id.
  • When a user, not having an organisation id, creates an event, he is not informed that event can't be created as he is missing an organisation id. Sometimes the screen stays intact and the error displays in debug console. Sometimes a pop up occurs when you hit submit(in create event screen) but the event is never create(as organisation id is missing)

Expected Behaviour:

  • If the organisation id is missing, the app should ask a user to join/create an organisation before taking him to the newsFeed(homepage).
  • If the app has taken the user to a newsfeed(homepage) without an organization id, and if a user tries to create an event then he should be informed that he is missing an organization id and event cannot be created.

Steps to reproduce issue:

  • Open the app and perform successful signup. You will be taken to the join organisation screen
  • Refresh the app from the editor. You will be taken to the newsfeed(homepage)
  • Go to events and try creating an event.
  • The event won't be created. Either you will be getting an error in debug console or the screen pops and the event is never created.

Snapshots/Videos:
issue 2

Does this issue need immediate attention?
Yes.

Are you willing to work on this issue:
Yes, I am willing to work on this issue.

Other information:
Discussion related to the issue: https://thepalisadoes-dyb6419.slack.com/archives/C01RG2P5WLU/p1616872036418200
@Sagar2366 sir please assign this issue to me.

@github-actions github-actions bot added discussion unapproved Unapproved, needs to be triaged labels Mar 30, 2021
@harshkumarkhatri harshkumarkhatri changed the title [BUG} - User unable to create events due to missing organization id [BUG] - User unable to create events due to missing organization id Mar 30, 2021
@harshkumarkhatri
Copy link
Author

Update-The events can only be created by administrators or by coordinators. The role assigning system is yet to be created.
Both of them(administrator & coordinator) will be needing an organization id to create events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants