Cannot submit feedback for fallback translation of recurring event #1858
Labels
‼️ prio: high
Needs to be resolved ASAP.
🐛 bug
Something isn't working
☺️ effort: low
Should be doable in <4h
Milestone
Describe the Bug
The pathname of a recurrent event contains the date of an explicit event (in the frontend).
E.g. https://webnext.integreat.app/testumgebung/de/events/spieleabend$2022-11-16
This pathname is provided by the backend.
However, the actual slug should not contain the date of the event. In the example above the slug is
spieleabend
.It is possible to remove the date from the slug in the rontend but in fact this should probably be done in the backend. Either supply the event slug in the api, or make sending feedback with the slug containing the date work.
Steps to Reproduce
Expected Behavior
̀Submitting feedback works:
{"success": "Feedback successfully submitted"}
Actual Behavior
Submitting feedback fails with:
{"error": "No matching location found for slug."}
The text was updated successfully, but these errors were encountered: