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

Error in Event Creation & Fetch due to Faulty mutation #2468

Closed
GlenDsza opened this issue Apr 12, 2024 · 4 comments · Fixed by #2481
Closed

Error in Event Creation & Fetch due to Faulty mutation #2468

GlenDsza opened this issue Apr 12, 2024 · 4 comments · Fixed by #2481
Assignees
Labels
bug Something isn't working invalid This doesn't seem right no-issue-activity No issue activity

Comments

@GlenDsza
Copy link
Contributor

GlenDsza commented Apr 12, 2024

Describe the bug
User is unable to create event due to faulty and old implementation of createEvent mutation. The support for recurrance field was removed from API in PalisadoesFoundation/talawa-api#2107 and there are issuein recurrenceRule used on Talawa Mobile.

Update mutation as per latest PalisadoesFoundation/talawa-api#2234

Errors in console:

  • GraphQLError(message: Variable "$recurrenceRuleData" got invalid value "TU" at "recurrenceRuleData.weekDays[0]"; Value "TU" does not exist in "WeekDays" enum., locations: null, path: null, extensions: null)
  • Field "recurrance" is not defined by type "EventInput".

To Reproduce
Steps to reproduce the behavior:

  1. Login to a organization.
  2. Open Events tab
  3. Click on Create Event Button
  4. Fill the details and try to create new event
  5. Error Dialog is shown on the screen.

Expected behavior
On click of create event button, the Event should be created successfully if all details are filled and valid.

Actual behavior
On click of create event button, A Error Dialog is shown.

Screenshots

createEvent.mp4

Additional details
Part (pre-requisite) for Event Parity Project.

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship #359

@GlenDsza GlenDsza added the bug Something isn't working label Apr 12, 2024
@GlenDsza
Copy link
Contributor Author

Would like to work on this issue

@github-actions github-actions bot added invalid This doesn't seem right unapproved Unapproved, needs to be triaged labels Apr 12, 2024
@dhanagopu dhanagopu removed the unapproved Unapproved, needs to be triaged label Apr 16, 2024
@meetulr
Copy link

meetulr commented Apr 19, 2024

@GlenDsza There have been some modifications in the implementation of recurring events: PalisadoesFoundation/talawa-api#2234 (The existing code needed some improvements). Please adjust the code according to that😄

@GlenDsza GlenDsza changed the title Error in Event Creation due to Faulty mutation Error in Event Creation & Fetch due to Faulty mutation Apr 20, 2024
@GlenDsza
Copy link
Contributor Author

WIP will submit PR within some time

Copy link

github-actions bot commented May 2, 2024

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right no-issue-activity No issue activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants