Item14684: diff.nat.tmpl is missing, bin/diff command returns 0 length page.
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
DiffPlugin:d483bdfb40a5 removed the
diff.nat.tmpl
template, however there is no corresponding checkin to the
NatSkin.
Newly installed
NatSkin sites don't have a working
bin/diff
command, however older sites that have the prior template left over work fine.
--
GeorgeClark - 23 Apr 2018
It's also not listed in the MANIFEST:
grep -c templates\/diff lib/Foswiki/Contrib/NatSkin/MANIFEST
0
--
GeorgeClark - 23 Apr 2018
Note that it seems to be working fine on Pattern skin without a skin specific template. It's only broken on
NatSkin.
--
GeorgeClark - 24 Apr 2018
Here's a quick fix.
--
MichaelDaum - 24 Apr 2018
I've encounter this issue after upgrading our site. However copying this
diff.nat.tmpl file did not work properly, the page went from blank to a distorted layout.
Another workaround that I found was to disable the
DiffPlugin and use
CompareRevisionsAddOn instead.
Then, replace the line in
view.nat.tmpl
<a href="%SCRIPTURLPATH{"diff"}%/%WEB%/%TOPIC%?rev=%CURREV%">
With:
<a href="%SCRIPTURLPATH{"compare"}%/%WEB%/%TOPIC%?type=last;render=interweave;context=1">
--
AlexAnder - 11 Jan 2019
This has been fixed in the latest release.
--
MichaelDaum - 12 Feb 2019