Changes to attachments (i.e. update attributes or change comment) result in a log entry which has no "action" entry.
This in turn causes lots of "bad log lines" entries from Statistics (see also
Item3089)
Store.pm should be modified with the following to provide a valid action for the change:
Index: Store.pm
===================================================================
--- Store.pm (revision 96)
+++ Store.pm (revision 97)
@@ -992,6 +992,7 @@
$meta->putKeyed( 'FILEATTACHMENT', $attrs );
} else {
+ $action = 'update';
$attrs = $meta->get( 'FILEATTACHMENT', $attachment );
$attrs->{name} = $attachment;
$attrs->{attr} = ( $opts->{hide} ) ? 'h' : '';
TWiki:Main.DarrenElkerton
I have implemented the fix except instead of inventing yet another action type which leads to another configure option - I have used plain save. You can see it is an attribute change because unlike a normal save this shows the filename in the log.
KJL
4.1.0 released
KJL