From fc9163bff133f8b7705f46e322164d3ac03454a2 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmUWmB1M35_jviFvGPYDIH-a-_Al-7OrXM" Date: Fri, 15 Jul 2011 08:53:51 -0400 Subject: [PATCH] --- ..._96___fails_if___96__attachment__96___is_not_enabled.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/bugs/plugin___96__rename__96___fails_if___96__attachment__96___is_not_enabled.mdwn diff --git a/doc/bugs/plugin___96__rename__96___fails_if___96__attachment__96___is_not_enabled.mdwn b/doc/bugs/plugin___96__rename__96___fails_if___96__attachment__96___is_not_enabled.mdwn new file mode 100644 index 000000000..f7c85cb3d --- /dev/null +++ b/doc/bugs/plugin___96__rename__96___fails_if___96__attachment__96___is_not_enabled.mdwn @@ -0,0 +1,5 @@ +ikiwiki 3.20110712: A try to rename a page through the web interface without plugin `attachment` enabled renders: + + Error: Undefined subroutine &IkiWiki::Plugin::attachment::attachment_holding_location called at /usr/share/perl5/IkiWiki/Plugin/rename.pm line 326. + +Enabling `attachment` makes it work. Some check if `attachment` is enabled before running that code path would solve it. Not sure of the best way to check it. --[[Daniel Andersson]] -- 2.26.2