Defect #32923

Rails 6: detach attachments when a conflict occurs

Added by Pavel Rosický over 1 year ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Rails support
Target version:-
Resolution:Fixed Affected version:

Description

fixes

Failure:
IssuesControllerTransactionTest#test_update_stale_issue_should_save_attachments [/redmine/test/functional/issues_controller_transaction_test.rb:122]:
Expected at least 1 element matching "input[name="attachments[p0][token]"][value="56.6bc2eb7e87cfbf9145065689aaa8b5f513089ca0af68e2dc41f9cc025473d106"]", found 0..
Expected 0 to be >= 1.
rails test test/functional/issues_controller_transaction_test.rb:89

issues_controller.rb.patch Magnifier (483 Bytes) Pavel Rosický, 2020-01-30 00:59


Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 New

Associated revisions

Revision 20894
Added by Go MAEDA 4 months ago

Fix detach attachments when a conflict occurs (#29914, #32923).

Patch by Pavel Rosický.

History

#1 Updated by Marius BALTEANU over 1 year ago

#2 Updated by Go MAEDA over 1 year ago

  • Category set to Rails support

#3 Updated by Marius BALTEANU 4 months ago

  • Tracker changed from Patch to Defect

#4 Updated by Go MAEDA 4 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch as a part of #29914.

Also available in: Atom PDF