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

Error when viewing a non-existing page translation #1387

Closed
david-venhoff opened this issue May 5, 2022 · 1 comment · Fixed by #1348
Closed

Error when viewing a non-existing page translation #1387

david-venhoff opened this issue May 5, 2022 · 1 comment · Fixed by #1348
Assignees
Labels
🐛 bug Something isn't working ⁉️ prio: low Not urgent, can be resolved in the distant future.
Milestone

Comments

@david-venhoff
Copy link
Member

Describe the Bug

The page tree can show page rows which exist in a root language, but not the current language. These rows have a view preview action. Clicking on the button to preview such a translation causes an error:
grafik

Steps to Reproduce

  1. Go to the page tree
  2. Switch to another language, which does not have all pages of the root language
  3. Click on the "view page as preview" button
  4. See error

Expected Behavior

No crash:
Empty preview / no option to show preview at all

Actual Behavior

Crash

@david-venhoff david-venhoff added 🐛 bug Something isn't working ⁉️ prio: low Not urgent, can be resolved in the distant future. labels May 5, 2022
@timobrembeck
Copy link
Member

I guess this will be solved by #1348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ⁉️ prio: low Not urgent, can be resolved in the distant future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants