Rails 6: update no longer bypass optimistic locking
|Assignee:||Go MAEDA||% Done:|
fixes test failures
ActiveRecord::StaleObjectError: Attempted to update a stale object: Issue. app/models/issue.rb:214:in `create_or_update'
#1 Updated by Pavel Rosický over 1 year ago
I'm not sure about test_copy_should_not_copy_subtasks_twice_when_saving_twice which was introduced in https://github.com/redmine/redmine/commit/5003927f13f54850ca9eeac48e353df5e4e325a1
it should be probably refactored in order to reflect the new behaviour or confirm if it's still valid