プロジェクト

全般

プロフィール

Vote #81803

完了

Query Links on Issues and Time Logs Import Sidebars broken

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

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

0%

予定工数:
category_id:
10
version_id:
155
issue_org_id:
36524
author_id:
3866
assigned_to_id:
107353
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[Closed]

説明

The import pages for issues and time logs have sidebars with links to saved issue queries and time log queries. These links are currently broken and just render as @the_current_page?query_id=3@, for example @http://localhost:3000/issues/imports/new?query_id=7@


journals

We have tracked down the issue to source:/trunk/app/helpers/queries_helper.rb@21387#L457, which is not aware of the issues and time logs imports, and thus can't correctly generate the query links.

Instead of trying to fix this we would like to suggest simply removing the sidebars entirely for the imports. While doing the import the query links are not of a great use because clicking on one of those links would interrupt the import steps. Furthermore, the user import for example does not have a sidebar, i.e. removing the sidebar in the other cases would be consistent. Last but not least, the new issue view for example does not have a sidebar either, probably because having links to the queries while creating something is not very helpful.

Do you think just removing the sidebar from the CSV import would be a good option here? If yes we can prepare a patch accordingly.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The attached patch removes the aforementioned sidebars.
--------------------------------------------------------------------------------
Patch committed, thanks!
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Thank you!
--------------------------------------------------------------------------------

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

  • カテゴリUI_10 にセット
  • 対象バージョン5.0.0_155 にセット

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

いいね!0
いいね!0