integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Broken translation status if only minor public versions exist

Open timobrembeck opened this issue 2 years ago • 0 comments

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

  1. Create POI as draft
  2. Do not change content and publish - this should create a new versions which is marked as minor edit
  3. 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

Additional Information

Screenshot 2022-10-24 at 16-45-23 Integreat Redaktionssystem

timobrembeck avatar Oct 24 '22 14:10 timobrembeck