Vote #80215
未完了After edition document's attachment redirecting to home page
0%
説明
Database manager version: MariaDB 10.1.38
Ruby version: Ruby 2.3.3
Rails version: Rails 5.2.3
Redmine version 4.0.4
h2. 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¶
h2. Actual result
After saving redirecting to home page.
h2. Expected result
Return to "Documents" tab in same project.
journals
Also experiencing this when editing wiki attachments.
<pre>
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)
</pre>
<pre>
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
</pre>
--------------------------------------------------------------------------------
I could not reproduce the behavior. Redirected to the wiki page the attachment belongs.
<pre>
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)
</pre>
--------------------------------------------------------------------------------