CMS MADE SIMPLE FORGE

News Module

 

[#2619] Send event before aritcle is actually deleted.

avatar
Created By: Georg Busch (nan)
Date Submitted: 2008-11-12 07:40

Assigned To:
Resolution: Invalid
State: Closed
Summary:
Send event before aritcle is actually deleted.
Detailed Description:
Some users creates extra fields of type file to upload e.g. an image that
belongs to the current news article.
When deleting this article the file stays on the server.
To delete it you can use an UDT that subscribes to the NewsArticleDeleted event.
But when this event is sent the article is already deleted so that you cannot
access the content of the extra fields to delete the files by that UDT.
So like the core sends an event before a content is really deleted it would be
nice to have an event that is sent before the news article is actually deleted.

History

Comments
avatar
Date: 2012-04-15 00:50
Posted By: Robert Campbell (calguy1000)

News has a 'file' custom field type... News manages this file in a separate
location and deletes it when the article is deleted.   Due to the fact that many
modules/pages may be using files that are just specified in an extra field it is
not wise or advisable to delete them.
      
Updates

Updated: 2012-04-15 00:50
resolution_id: => 9
state: Open => Closed