You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The venue update functionality fails unless the name of the venue is changed. Even if other fields (e.g., description, capacity, or venue image) are modified, the update is not reflected unless the venue name is altered.
To Reproduce
Steps to reproduce the behavior:
In talawa Admin portal
Go to the Venue Details modal.
Edit any field except for the venue name (e.g., description, capacity, or image).
Click the "Update Venue" button.
Observe that the venue does not update and throws an error.
Expected behavior
All changes, including description, capacity, or image, should be saved, regardless of whether the venue name is altered.
Actual behavior
The changes are not saved unless the venue name is modified. This results in an error message: "The submitted information is invalid. Please check your inputs and try again."
Screenshots
current bug (cannot update venue unless name change)
Screen.Recording.2025-01-17.021705.1.mp4
after solved bug(we can update any field)
Screen.Recording.2025-01-17.021831.mp4
Additional details
The issue seems to be caused by a conditional check in the code where updates are skipped if the venue name and other fields remain unchanged.
Refer to the file VenueModal.tsx .
The text was updated successfully, but these errors were encountered:
I have resolved this bug. Please assign it to me so I can create a pull request.
gkbishnoi07
changed the title
Venue Update Fails Unless Name is Changed In Talawa Admin
Bug Report: Venue Update Fails Unless Name is Changed In Talawa Admin
Jan 16, 2025
gkbishnoi07
changed the title
Bug Report: Venue Update Fails Unless Name is Changed In Talawa Admin
Bug Report: Venue Update Fails Unless Name is Changed
Jan 16, 2025
Describe the bug
The venue update functionality fails unless the name of the venue is changed. Even if other fields (e.g., description, capacity, or venue image) are modified, the update is not reflected unless the venue name is altered.
To Reproduce
Steps to reproduce the behavior:
In talawa Admin portal
Go to the Venue Details modal.
Edit any field except for the venue name (e.g., description, capacity, or image).
Click the "Update Venue" button.
Observe that the venue does not update and throws an error.
Expected behavior
All changes, including description, capacity, or image, should be saved, regardless of whether the venue name is altered.
Actual behavior
The changes are not saved unless the venue name is modified. This results in an error message: "The submitted information is invalid. Please check your inputs and try again."
Screenshots
current bug (cannot update venue unless name change)
Screen.Recording.2025-01-17.021705.1.mp4
after solved bug(we can update any field)
Screen.Recording.2025-01-17.021831.mp4
Additional details
The issue seems to be caused by a conditional check in the code where updates are skipped if the venue name and other fields remain unchanged.
Refer to the file VenueModal.tsx .
The text was updated successfully, but these errors were encountered: