
|
[dokuwiki]
||
[Date Prev]
[05-2007 Date Index]
[Date Next]
||
[Thread Prev]
[05-2007 Thread Index]
[Thread Next]
[dokuwiki] io_rename doesn't work with new diretories/namespaces on Windows
- From: "Gabriel Birke" <Gabriel.Birke@xxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 16:13:13 +0200
Hello!
I'm using the pagemove plugin that uses the function io_rename for moving
the metadata files. However, if the namespace I want to move a page to,
doesn't exist, io_rename fails.
Example: I want to move ns1:page1 to ns2:page1. ns2 doesn't exist. The
"rename" command in io_rename fails, then copy is tried, but "copy" also
fails because the directory ns2 doesn't exist.
Now my question: who should be responsible for creating the directory before
copying? Is that a task for the plugin, or is this a bug in io_rename? If
it's no bug, then I think there should be a warning in the documentation
comment of io_rename.
Greetings,
Gabriel
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|