Patch #32922
closed
Reload detached attachments
Added by Pavel Rosický almost 5 years ago.
Updated over 3 years ago.
Category:
Code cleanup/refactoring
Description
use #reload instead, after upgrading to Rails 5
Files
Thanks Pavel for posting the patches for Rails 6 update.
I've applied this patch on the current trunk and a test fails:
Failure:
AttachmentsTest#test_upload_and_resubmit_after_validation_failure [/builds/redmine-org/redmine/test/integration/attachments_test.rb:113]:
Expected at least 1 element matching "input[name="attachments[p0][description]"][value="My uploaded file"]", found 0..
Expected 0 to be >= 1.
bin/rails test test/integration/attachments_test.rb:99
You can see the test results here.
- Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
- Status changed from New to Resolved
sry, thanks for catching this, I was confused about the comment. Closing
- Status changed from Resolved to New
Let's keep it open, maybe we can fix the issue.
- Subject changed from reload detached attachments to Reload detached attachments
- Target version set to 5.0.0
- Category set to Code cleanup/refactoring
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the patch. Thank you.
Also available in: Atom
PDF