Error: XML-RPC fault: The page template is invalid. #10

Open
rdworth opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

rdworth commented Jan 5, 2013

Steps to reproduce

  1. Check out web-base-template new-css
  2. Check out qunitjs.com new-css
  3. grunt deploy
  4. Check out web-base-template master
  5. Check out qunitjs.com master
  6. grunt deploy
Running "wordpress-sync" task
Edited page cookbook.
>> Error editing page extensions...
>> Error: XML-RPC fault: The page template is invalid.
<WARN> Task "wordpress-sync" failed. Use --force to continue. </WARN>

If you then repeat step 6 above (grunt deploy) it completes without error

Owner

scottgonzalez commented Jan 8, 2013

The problem here is that WordPress accepts the post even though the template is invalid. Since the post is accepted, the content is updated, along with our checksum. On the second deploy, nothing happens. The checksum in WordPress matches the local checksum and we skip the post. @nacin is it a bug or feature that WordPress updates the post when an invalid template is used?

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