Bug #2252
Cannot delete Project Section
Start date:
10 Oct 2013
Due date:
31 May 2014
% Done:
100%
Redmine version:
2.3.3
External issue:
Description
Working with SVN trunk version.
Deleting a project section triggered an exception.
This turned out to be due to the fact that the before_filter :find_parent_section in project_sections_controller.rb
was not defined for the 'destroy’ action.
I changed the definition as follows:
before_filter :find_parent_section, :only => [ :edit, :update, :destroy ]
and now it works.
Associated revisions
History
#1 Updated by Minh Thien almost 11 years ago
Thanks.
I also edit code and it works
#2 Updated by Andriy Lesyuk over 10 years ago
- Status changed from New to Under Verification
- Assignee set to Andriy Lesyuk
Martin, thanks!
#3 Updated by Andriy Lesyuk over 10 years ago
- Target version set to 0.0.2
#4 Updated by Andriy Lesyuk over 10 years ago
- Due date set to 31 May 2014
- Status changed from Under Verification to Closed
- % Done changed from 0 to 100