Graham Seaman wrote:
Not having used openguides before I'm trying to work my way through
the long chain of cpan dependencies and have got stuck with CGI::Wiki.
I'm getting the error messages reported on
which are all from trying to write nodes with no contents. As far as I
can see from the CGI::Wiki documentation this is required behaviour,
so it looks like I need to find a fix for it. In an initial fit of
optimism I thought I'd try to track down where the problem was
originating from, but I've got lost. I assume Text::Wikiformat is
being invoked through the format() routine, but I've failed miserably
at following the tangled route from $wiki->write_node() to format().
Has anyone got any further, or found a way round this? I did mail
chromatic to ask him if he had any ideas, but he (very reasonably)
suggested I provide a clear test case first (though he also said he
might look at it in the next few days).
This is due to some major changes to Text::WikiFormat, which cause
CGI::Wiki to break. The problem has already been noted, and we have a
couple of workarounds:
a) downgrade Text::WikiFormat to version 0.71 (from backpan)
b) force install CGI::Wiki::Formatter::UseMod
The application code in OpenGuides specifically excludes the case of a
completely empty node, which is what triggers the failure. If you do
manage to crack the underlying problem in CGI::Wiki::Formatter::UseMod,
a patch would be most welcome.