Actions
Feature #20388
closedRemoving attachment after commit transaction
Feature #20388:
Removing attachment after commit transaction
Resolution:
Fixed
Description
Now in Attachment model is
If you want to construct a serious logic with Rollback this behaviour leads to remove file from disk, but leave an attachment record in DB.
In my project I replaced this callback on
and it works perfect.
I think this is a good modification for Redmine. It have full backward compatibility but can extend ability for strong logic in app.
Updated by Toshi MARUYAMA over 11 years ago
- Target version set to 3.2.0
Updated by Ivan Zabrovskiy over 11 years ago
Updated by Jean-Philippe Lang about 11 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Change committed in r14630, thanks.
Actions