aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2012-04-07 18:24:05 -0400
committeradmin <admin@branchable.com>2012-04-07 18:24:05 -0400
commit04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06 (patch)
tree8a4cc11afc4fe58dfb1b71a1bce3e0b363687701 /doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn
parent2fca1eeda99b5250dda385e50607b2deb499d40c (diff)
downloadikiwiki-04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06.tar
ikiwiki-04af2f9f52bcaa2455eaaef95d4d7c0b747b7d06.tar.gz
nearly works with autoindex_commit => 0, but not quite...
Diffstat (limited to 'doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn')
-rw-r--r--doc/bugs/must_save_before_uploading_more_than_one_attachment.mdwn14
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]]