File attachments and deleted messages [message #33600] |
Fri, 08 September 2006 21:50  |
jcarter
 Messages: 25 Registered: August 2006
Karma: 0
|
Junior Member |
add to buddy list ignore all messages by this user
|
|
FUDforum 2.7.5
I had a forum where the messages contained many attachments. I had to delete the group and recreated it by importing from the original NNTP source.
It appears the deleting the forum, then deleting the messages did not remove the attachments. Now for each message with an attachment, it also shows all the orphan attachments from the previous forum's existance. I tried running a Forum Consistency check but it did not correct the condition.
How do I purge the orphan attachments?
|
|
|
|
|
|
|
|
Re: File attachments and deleted messages [message #33772 is a reply to message #33688] |
Wed, 20 September 2006 13:14   |
jcarter
 Messages: 25 Registered: August 2006
Karma: 0
|
Junior Member |
add to buddy list ignore all messages by this user
|
|
It turns out that my analysis was wrong. I was misled because it appears that deleting forum messages and emptying the trashcan does not remove the physical file from the disk.
The real problem is that during an NNTP import session, the attachments are applied to the correct message, then also to all following messages which have attachments. For example - looking at the attach_cnt column in a forum which was imported from a newsgroup-
Msg #1 has 1 attachment: attach_cnt = 1
Msg #5 has 1 attachment: attach_cnt= 2
Msg #8 has 5 attachments: attach_cnt = 7
msg #12 has 1 attachment: attach_cnt = 8
...
msg #250 has 1 attachment: attach_cnt = 53
msg #260 has 1 attachment: attach_cnt = 54
Looking at msg #260 confirms that all 54 attachments shown are for previous messages in that NNTP import session.
[Updated on: Wed, 20 September 2006 14:50] Report message to a moderator
|
|
|
|
|
|