Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent page selector shows page Titles as they were last seen Live, not the current titles #203

Open
GrUnicrn opened this issue Nov 27, 2020 · 0 comments · May be fixed by #206
Open

Parent page selector shows page Titles as they were last seen Live, not the current titles #203

GrUnicrn opened this issue Nov 27, 2020 · 0 comments · May be fixed by #206

Comments

@GrUnicrn
Copy link

GrUnicrn commented Nov 27, 2020

Issue summary

This happens when translating page trees that are still (largely) in Draft.

When the page is first translated using "Translate into" button and "Copy from Canonical" checkmark, the page's title is copied from the canonical version (i.e. usually English). If the user later translates the page and changes the Title to the target language, but does not publish the translated page, its name will keep being displayed in English in "Translate into" Parent page dropdowns.

As a workaround, one may publish and then immediately un-publish the parent page.

How to reproduce?

  1. Press "translate into" on a random page (let's call it A)
  2. When the page editor opens, change the page title from A to B.
  3. Save the draft. Do not publish the new page.
  4. Translate another page into the same language. Look at the "Parent page" dropdown.

Expected result:
B is an option in the dropdown.

Actual result:
A is an option in the dropdown.

Workaround

  1. Publish and immediately un-publish page B.
  2. Translate another page into the same language. Look at the "Parent page" dropdown.
  3. B is now an option in the dropdown, not A.

Technical details

  • Django Version: 3.1.3
  • Python Version: 3.8.5
  • Wagtail version: 2.10
  • Wagtailtrans version: d490c72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant