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.
--
PTh
Trying to reproduce here:
Sandbox.BugsItem2426Test
--
PTh
Yep, it can be reproduced.
--
PTh
I narrowed it down to one line:
Set ICONTOPIC = %PUBURL%/%TWIKIWEB%/TWikiDocGraphics
--
PTh
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).
--
SP
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.
--
PTh
Ah, didn't realize that - fair enough.
--
SP
Was not checking error return from Store. Simply a case of adding a try..catch.
CC