プロジェクト

全般

プロフィール

Vote #80215

未完了

After edition document's attachment redirecting to home page

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
19
version_id:
0
issue_org_id:
31815
author_id:
28180
assigned_to_id:
0
comments:
2
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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>
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリAttachments_19 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0