Skip Menu |

This queue is for tickets about the CGI-Wiki-Simple CPAN distribution.

Report information
The Basics
Id: 5192
Status: new
Priority: 0/
Queue: CGI-Wiki-Simple

People
Owner: Nobody in particular
Requestors: matthew [...] weierophinney.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: runmode delegation broken
In attempting to get CGI::Wiki::Simple (v 0.12) running, I get the following fatal warning: Could not delegate CGI::Wiki::Simple::retrieve_node at /usr/local/share/perl/5.8.0/CGI/Wiki/Simple.pm line 377 The line in question reads: %node = $self->retrieve_node($node_title); and the retrieve_node method is delegated to the wiki method, which in turn is supposed to call the appropriate CGI::Wiki method. However, I found that I needed to do the following to get CGI::Wiki::Simple working: Change line 377 to read: %node = $self->param('wiki')->retrieve_node($node_title); Change line 380 to read: $self->param(content => $self->param('wiki')->format($raw)); Once these had been changed, CGI::Wiki::Simple ran as expected.