Tags:
create new tag
view all tags

Question

I'm working on a twiki plugin, and I need to be able to catch certain things. I notice that afterSaveHandler is triggered on anything save related to a topic - creation, edit, deletion, renaming, etc... However I also noticed that afterAttachmentSaveHandler only seems to be triggered when you upload an attachment (haven't tried a rename). I need to be able to catch when an attachment is deleted, but since this handler doesn't catch that, I'm not sure what to use.

I have no problems with hacking the code, but would obviously rather not if I can avoid it.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- MichelleHedstrom - 20 Mar 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

It looks like a lack in functionality. Please open a bug (link provided in the sidebar.)

-- PeterThoeny - 01 May 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-05-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.