diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2012-04-07 18:24:05 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-04-07 18:24:05 -0400 |
commit | 04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06 (patch) | |
tree | 8a4cc11afc4fe58dfb1b71a1bce3e0b363687701 /doc | |
parent | 2fca1eeda99b5250dda385e50607b2deb499d40c (diff) | |
download | ikiwiki-04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06.tar ikiwiki-04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06.tar.gz |
nearly works with autoindex_commit => 0, but not quite...
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn b/doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn index 20d5dc8e6..bd5ddc6d5 100644 --- a/doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn +++ b/doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn @@ -26,7 +26,19 @@ Is this a problem on my site or does anyone else see this? >>> The right fix would probably be for `do=create` to allow replacing a page >>> in the transient underlay without complaining (like the behaviour that ->>> `do=edit` normally has). That wouldn't help you unless [[plugins/autoindex]] +>>> `do=edit` normally has). + +>>>> ... which it turns out it already does. --[[smcv]] + +>>> That wouldn't help you unless [[plugins/autoindex]] >>> defaulted to making transient pages (`autoindex_commit => 0`), but if we >>> can fix [[removal_of_transient_pages]] then maybe that default can change? >>> --[[smcv]] + +>>>> It turns out that with `autoindex_commit => 0`, the failure mode is +>>>> different. The transient map is created when you attach the +>>>> attachment. When you save the page, it's written into the srcdir, +>>>> the map is deleted from the transientdir, and the ctime/mtime +>>>> in the indexdb are those of the file in the srcdir, but for some +>>>> reason the HTML output isn't re-generated (despite a refresh +>>>> happening). --[[smcv]] |