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

If template doesn't exist, page template cannot be edited #15401

Closed
wezell opened this issue Oct 9, 2018 · 4 comments
Closed

If template doesn't exist, page template cannot be edited #15401

wezell opened this issue Oct 9, 2018 · 4 comments

Comments

@wezell
Copy link
Contributor

wezell commented Oct 9, 2018

If a template that is use by a page is deleted or does not exist on the target system, the page content cannot be updated to allow for a new template to be chosen.

  1. Pick a page and see what template it is using.
  2. Delete the template_version_info for that template
  3. Flush the cache
  4. try editing the page, you will be unable to edit or re-assign a template or save the page.
@erickgonzalez
Copy link
Contributor

PR: #15402

erickgonzalez added a commit that referenced this issue Oct 11, 2018
dsilvam pushed a commit that referenced this issue Oct 11, 2018
* #15401 tests are blind - have not been run

* #15401 allow change template of a page is template_version_info is deleted

* #15401 fail test when NPE
@dsilvam dsilvam assigned dsilvam and unassigned erickgonzalez Oct 11, 2018
@dsilvam
Copy link
Contributor

dsilvam commented Oct 16, 2018

Internal QA: Passed. You are able to edit the page and choose a new template after deleting template_version_info of old template and flushing cache. After choosing a new template, page is able to render and/or edit.

@dsilvam dsilvam removed their assignment Oct 16, 2018
@bryanboza
Copy link
Member

Fixed, tested on master // Postgres // FF

@dsilvam dsilvam modified the milestones: 10162018_REX, Rex Current Oct 29, 2018
dsilvam pushed a commit that referenced this issue Nov 1, 2018
* #15401 tests are blind - have not been run

* #15401 allow change template of a page is template_version_info is deleted

* #15401 fail test when NPE
@bryanboza
Copy link
Member

Fixed, tested on release-5.0.3 and now we are able to set a new template and continue working in a page normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants