integreat-cms
integreat-cms copied to clipboard
Broken translation status if only minor public versions exist
Describe the Bug
When a POI or Event is published as minor edit, the translation status shows "Fallback translation", which does not make sense.
Steps to Reproduce
- Create POI as draft
- Do not change content and publish - this should create a new versions which is marked as minor edit
- See translation status in language tab - it is marked as fallback translation
Expected Behavior
The translation should be up to date. We can achieve this by setting all past versions to public, similar to how we do it for pages:
https://github.com/digitalfabrik/integreat-cms/blob/f90e5aacf3095537a6e19e30d5e2689fccf45a13/integreat_cms/cms/views/pages/page_form_view.py#L342-L350
Actual Behavior
The translation status is incorrect