Defect #31815
After edition document's attachment redirecting to home page
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Attachments | |||
Target version: | - | |||
Resolution: | Affected version: |
Description
Database manager version: MariaDB 10.1.38
Ruby version: Ruby 2.3.3
Rails version: Rails 5.2.3
Redmine version 4.0.4
Steps to reproduce¶
- Go to "Documents" tab
- Create if not exists a new document with attachment
- Start edit attached file by pressing "Pencil" icon
- Change or add information in fields
- Press "Save" button
Actual result¶
After saving redirecting to home page.
Expected result¶
Return to "Documents" tab in same project.
History
#1
Updated by Martin Rys almost 3 years ago
Also experiencing this when editing wiki attachments.
Started PATCH "/attachments/wiki_pages/1769" for 10.80.60.1 at 2019-08-13 10:25:36 +0200 Processing by AttachmentsController#update_all as HTML Parameters: <REDACTED> "commit"=>"Save", "object_type"=>"wiki_pages", "object_id"=>"1769"} Current user: rys@company.com (id=872) Redirected to http://helpdesk.company.com/ Completed 302 Found in 52ms (ActiveRecord: 10.9ms) Completed 200 OK in 183ms (Views: 128.0ms | ActiveRecord: 29.0ms)
Environment: Redmine version 4.0.2.stable Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux] Rails version 5.2.2 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.12.0 Git 2.19.1 Filesystem Redmine plugins: periodictask 4.1.0 redmine_agile 1.4.10 redmine_percent_done 1.1.0 redmine_silencer 0.4.3 redmine_tags 4.0.0
#2
Updated by Go MAEDA over 2 years ago
I could not reproduce the behavior. Redirected to the wiki page the attachment belongs.
Started PATCH "/attachments/wiki_pages/4" for ::1 at 2019-10-06 18:30:26 +0900 . . . Redirected to http://localhost:3000/projects/ecookbook/wiki/Page_with_an_inline_image Completed 302 Found in 28ms (ActiveRecord: 4.4ms)