Defect #6966

Records of Forums are remained, deleting project

Added by ko simo almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:2010-11-24
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Forums
Target version:1.0.4
Resolution:Fixed Affected version:1.0.3

Description

Deleting project, the following is not removed.
  • The Records of attachements table, container_type = 'message'.
  • The attached files on Forum.

--
Redmine version v.1.0.2 and trunk, (I confirmd)
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /var/rm_trunk
Environment development
Database adapter mysql
Database schema version 20101114115359

Associated revisions

Revision 4431
Added by Jean-Philippe Lang almost 7 years ago

Fixed: messages attachments/watchers are not deleted when deleting a project or forum (#6966).

History

#1 Updated by Felix Schäfer almost 7 years ago

So attachments to forum messages aren't deleted if you delete the containing project, is that the error you are seeing? Can you confirm files attached to wiki pages or issues are deleted if you delete the containing project?

#2 Updated by ko simo almost 7 years ago

Yes.
Only attachments to forum messages aren't deleted.
Issues, wiki pages, files are deleted.

#3 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Resolved
  • Target version set to 1.0.4
  • Affected version (unused) set to 1.0.3
  • Resolution set to Fixed
  • Affected version set to 1.0.3

Fixed in r4431.

#4 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from Resolved to Closed

Merged in 1.0-stable.

#5 Updated by Etienne Massip over 6 years ago

  • Category set to Forums

Also available in: Atom PDF