Location endpoint raises internal server error when default translation is not public #2097
Labels
‼️ prio: high
Needs to be resolved ASAP.
🐛 bug
Something isn't working
☺️ effort: low
Should be doable in <4h
Milestone
Describe the Bug
When a region creates a location which is a draft in the default language, but public in other languages, the location API returns an internal server error
Steps to Reproduce
Expected Behavior
Actual Behavior
The database inconsistency causes an internal server error
Additional Information
Traceback
This is a regression from 70630ff (#2057).
The text was updated successfully, but these errors were encountered: