I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2252

Cannot delete Project Section

Added by Martin Corino over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
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

Revision 18 (diff)
Added by Andriy Lesyuk almost 10 years ago

Renamed CSS file, applied community patches (#2252, #2253, #2275 and #2279)

History

#1 Updated by Minh Thien over 10 years ago

Thanks.

I also edit code and it works

#2 Updated by Andriy Lesyuk almost 10 years ago

  • Status changed from New to Under Verification
  • Assignee set to Andriy Lesyuk

Martin, thanks!

#3 Updated by Andriy Lesyuk almost 10 years ago

  • Target version set to 0.0.2

#4 Updated by Andriy Lesyuk almost 10 years ago

  • Due date set to 31 May 2014
  • Status changed from Under Verification to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Terms of use | Privacy policy