Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
PublishPlugin produces duplicate filenames like __extra0 for resources that are not in the web being exported. This is especially noticable when exporting to a .zip file, since the resulting zip contains multiple files with the same name.
Foswiki::Plugins::PublishPlugin::Publisher::publishTopic() maintains a counter
$extras
to generate unique filenames for these resources. The problem is that the counter is reset for every topic. It should be initialised at the start of the run, so that external resources for different topics get different filenames.
--
MichaelTempest - 13 Aug 2009