You are here: Foswiki>Tasks Web>Item10227 (08 Apr 2011, AndrewJones)Edit Attach

Item10227: BatchUploadPlugin does not work with 1.1

Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: BatchUploadPlugin
Reported By: KerstinPuschke
Waiting For: Main.AndrewJones
Last Change By: AndrewJones
BatchUploadPlugin does not work with foswiki 1.1.2 - it does not extract the zip archive. It simply attaches the zip-file to the topic. There is no error message in the logs, neither apache logs nor foswiki logs.

See also Support.Question751

Potential error source:

BatchUploadPlugin uses beforeAttachmentSaveHandler (, line 80), which is deprecated according to lib/Foswiki/ (line 53).

-- KerstinPuschke - 05 Jan 2011

any news about this issue? I'm having the same problem...

-- HaraldLipke - 25 Mar 2011

any news about this issue? I'm having the same problem...

-- JoeyCollard - 02 Apr 2011

Find attached a quick-and-dirty patch that works for me.

-- KerstinPuschke - 04 Apr 2011

Hmm, if its handler is depreciated, it should still work, so that might be another bug.

Either way, I will upload a new version of the plugin soon with the fix.

-- AndrewJones - 04 Apr 2011

In difference to the other deprecated handlers, afterAttachmenSaveHandler and beforeAttachmentSaveHandler are not present in @registrableHandlers in lib/Foswiki/ (line 18).

-- KerstinPuschke - 05 Apr 2011

I tried adding it to @registrableHandlers, but that didn't work. I found it easier to fix BatchUploadPlugin smile

The new version has been released. Please download it and let me know if you find any issues.

-- AndrewJones - 08 Apr 2011

Topic revision: r8 - 08 Apr 2011, AndrewJones
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy