Actions
Defect #32912
closedRails 6: update no longer bypass optimistic locking
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
fixes test failures
ActiveRecord::StaleObjectError: Attempted to update a stale object: Issue. app/models/issue.rb:214:in `create_or_update'
https://github.com/rails/rails/commit/c14e1611e94a7461f219b4349e926592e65241ad
Files
Related issues
Updated by Pavel Rosický almost 5 years 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
Updated by Marius BĂLTEANU almost 5 years ago
- Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
Updated by Marius BĂLTEANU over 3 years ago
- Tracker changed from Patch to Defect
Updated by Go MAEDA over 3 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed as a part of #29914.
Actions