When you try to look at TWiki:Plugins/ThreadedDiscussionPlugin
you get a fatal error.
Message on screen:
RCS: stream open pathhttps://develop.twiki.org/pub/TWikipath failed: No such file or directory
Message in error_log:
RCS: stream open /opt/csw/apache2/share/htdocs/p/pub/https://develop.twiki.org/pub/TWiki/TWikiDocGraphics/_filetypes.txt failed: No such file or directory at /home/twiki/lib4/TWiki/Store/RcsFile.pm line 832.
If I look at this topic with a Cairo version it displays properly.
Trying to reproduce here: Sandbox.BugsItem2426Test
Yep, it can be reproduced.
I narrowed it down to one line:
Set ICONTOPIC = %PUBURL%/%TWIKIWEB%/TWikiDocGraphics
This is just wrong/legacy use of the variable for TWiki4, correct use now is:
* Set ICONTOPIC = %TWIKIWEB%.TWikiDocGraphics
Updated plugin topic at twiki.org, needs to be updated in SVN and plugin rebuilt (perhaps with old style syntax highlighted for Cairo users).
This is a core bug. Please open a separate extension bug if needed.
It is bad to throw an error message like this to the user. If the icon topic cannot be found it should degrade gracefully, e.g. at least display the page content.
FYI, it was not even possible to edit the topic by replacing view with edit, same error. I had to revert to Cairo to fix the topic.
Ah, didn't realize that - fair enough.
Was not checking error return from Store. Simply a case of adding a try..catch.