dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
866 stars 467 forks source link

Pushing modified Designed Template not reflecting changes in pages using it #6587

Closed dsilvam closed 10 years ago

dsilvam commented 10 years ago

related to #6585

Steps to reproduce:

  1. Create a Designed Template with OpenBank Theme
  2. Create a page and choose the template from 1
  3. Add some content and check the live version of the page (should see OpenBank Theme)
  4. Push Publish Page (should see page at receiver with OpenBank Theme)
  5. Edit the Designed Template at Local and change the Theme to Quest
  6. Save and Publish Template
  7. Push Publish Template (EDITED, it said push page, but it is push template)
  8. Check live version of page at remote

Error:You will notice that the page at remote shows the old theme instead of the new.

jtesser commented 10 years ago

Yes you need to force push in this case but we can add this to the cache remove when you alter the template.

dsilvam commented 10 years ago

fix for this issue here: https://github.com/dotCMS/support/blob/master/hotfixes/hotfix-GIT-6587-v2.5.6/enterprise/src/com/dotcms/enterprise/publishing/remote/handler/TemplateHandler.java

dsilvam commented 10 years ago

I mistyped step 7. I said Push Page Again, but it is Push Template, not the page. Step updated.

jtesser commented 10 years ago

Duplicate of https://github.com/dotCMS/core/issues/6585