mirror of
https://github.com/redmine/redmine.git
synced 2025-11-17 18:50:53 +01:00
Fixed: deleting a parent issue may lead to a stale object error (#7920).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5285 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -466,6 +466,9 @@ module CollectiveIdea #:nodoc:
|
||||
["#{quoted_right_column_name} >= ?", right]
|
||||
)
|
||||
end
|
||||
|
||||
# Reload is needed because children may have updated their parent (self) during deletion.
|
||||
reload
|
||||
end
|
||||
|
||||
# reload left, right, and parent
|
||||
|
||||
Reference in New Issue
Block a user