]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/wrong_rendering_of_templatebody.mdwn
follow up: optimization partially restored
[git.ikiwiki.info.git] / doc / bugs / wrong_rendering_of_templatebody.mdwn
index 6b7750193b05c07456a5820410bd6ac7d0397720..1a9377b68845dacf169d8fbd6d5aa2e27e5e4ea1 100644 (file)
@@ -18,6 +18,13 @@ of my templates renders as the *rest* of the template page when used, instead of
 the body part. In other words, it renders exactly the part it should hide (the
 description) and ignores the body itself (which is inside \[[!templatebody]]).
 
+> With a hint from [[kjs]] on [[templates/discussion]], I was able to reproduce
+> this bug. It seems to have been caused by an optimization: please try applying
+> [commit 5fd863b5](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=5fd863b5b05449669ec56c6798d836e3302386e2)
+> to your Render.pm. A follow-up commit partially brings back the optimization
+> (only for rebuilds). So I think this is [[done]]? (remove that link if
+> not) --[[smcv]]
+
 When I manually re-generate the wiki, it suddenly renders right. As soon as the
 page gets rebuilt automatically after some git push, it renders the wrong way.
 
@@ -50,6 +57,10 @@ page gets rebuilt automatically after some git push, it renders the wrong way.
 >> the git push output, because rendering the wiki from command line doesn't have this
 >> problem.
 >>
+>> One more thing, my setup uses the pingee plugin. When doing a git push, it browses to
+>> the wiki page using wget with `?do=ping` parameter, and then ikiwiki responds by rebuilding
+>> the necessary pages.
+>>
 >> Thanks for the pointers.
 >>
 >> --[[fr33domlover]]