This question about Using an extension: Needs followup in Tasks
Error was found by the version control system
I got the following error while I am trying to attach a zip with BatchUploadPlugin
During save of xxx.WebHome an error was found by the version control system. Please notify your Foswiki administrator.
Do not save zip file!
Go back in your browser and save your changes locally.
However, files in the zip file were successfully extracted and attached to the topic
I am using RcsLite.
- 17 Jul 2009
I guess, the update of the META data within the topic file failed, after the upload itself succeded.RcsLite does not support rcs-style locking. Maybe some other process rcs-locked that file.
Does this happen to many / all topics on your system?
09 Oct 2009
Getting this same error on Foswiki 1.1.4 now. Tested with simple zip archive with two PDFs. Error page appears as described above. By navigating manually back to the page and reloading, I see that contents of the zip have actually been successfully attached with correct metadata including comment.
Tried turning on Debug option in BatchUploadPlugin
settings, but still no information appears in Apache error log nor Foswiki
This plugin worked without problem last year.
- 06 May 2012
The source of the error message "Do not save zip file!" is line 129 in the beforeUploadHandler of the BatchUploadPlugin
. In order
- not to attach the zip file and
- not to overwrite the meta data (with the extracted files) with the saved meta data in the caller (that is missing the extracted files)
the author entered
# SMELL: bit of a hack?
# user won't see this, but if left out the zip file will be attached, overwriting the unzipped files
#exit 0; this just returns a blank page to the user, not very good...
throw Error::Simple( 'Do not save zip file!' ); # this seems to work fine, the user gets returned to their viewed↪ page and the unzipped files do not get overwritten. Presumably it is caught somewhere higher up.
The assumption "user won't see this" is wrong if you use ModPerlEngineContrib
see also Tasks.Item13049
- 07 Oct 2014