aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrmacgregor <rmacgregor@web>2013-07-04 21:52:35 -0400
committeradmin <admin@branchable.com>2013-07-04 21:52:35 -0400
commit80e5d439a08dc196923eaebe4e65f7edf6c83a50 (patch)
tree48e0c321533349d80cc11c9be98881b3a0912ccd /doc
parentad9388de7dfcf294a57e69d1f4e34e6ae782856f (diff)
downloadikiwiki-80e5d439a08dc196923eaebe4e65f7edf6c83a50.tar
ikiwiki-80e5d439a08dc196923eaebe4e65f7edf6c83a50.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/Attachment_plug-in_not_committing_files.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/Attachment_plug-in_not_committing_files.mdwn b/doc/bugs/Attachment_plug-in_not_committing_files.mdwn
new file mode 100644
index 000000000..05db1f86e
--- /dev/null
+++ b/doc/bugs/Attachment_plug-in_not_committing_files.mdwn
@@ -0,0 +1,12 @@
+I've added the attachment plug-in to our wiki. I am able to add files to the working copy of the website on the server, but none of the file are being checked into the SVN repository. Using logging I've tracked the problem to line 293 of attachment.pm:
+
+ IkiWiki::rcs_add($_) foreach @attachments;
+
+Here it is trying to add an absolute path to the file when rcs_add is expecting a path relative to the SVN root.
+
+From this code it looks like $dest needs to be absolute and that a relative path needs to be pushed to @attachments:
+
+ rename($filename, $dest);
+ push @attachments, $dest;
+
+I'm using ikiwiki version 3.20120202ubuntu1.