プロジェクト

全般

プロフィール

Vote #74515

未完了

Issue relations gantt rendering option is always saved as true

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

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

0%

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

説明

I haven't been able to look deeply into the code, but here are the steps to reproduce:

browse to gantt view (global or project)

deselect related issues gantt option and click apply

#* view is now correctly modified

click save to create a new query

the form will pickup the parameter so the related issues gantt option is already deselected (otherwise, deselect related issues gantt option)

save the query

Expected: new custom query related issues gantt option unchecked
Seen: new custom query related issues gantt option checked

Considering the fact that this is tested code (specifically @QueriesControllerTest#test_create_project_query_from_gantt@ tests the use-case I use above) it makes sense to assume the error is encapsulated in the test because it doesn't fail.
I think this might be a problem with the correct passing of the @:draw_relations@ parameter, because that is fixed in the test and missing in the actual request (see log snippets).

Environment:

Environment:
  Redmine version                2.3.3.devel.12228
  Ruby version                   2.0.0-p247 (2013-06-27) [i686-linux]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Git                            1.7.9.5
  Filesystem                     
Redmine plugins:
  no plugin installed

Log snippets: ...

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

いいね!0
いいね!0