プロジェクト

全般

プロフィール

Vote #76698

未完了

Use creation date for displaying issues without start date on the calendar

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

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

0%

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

説明

We removed the Standard Fields "Start Date" and "Due Date" from one of our Trackers.
Now new Issues don't show up in the Calendar.

Looking at the code I discovered that redmine uses the start_date field to search
for Issues in the Database.

I think it would be better to use created_on if start_date is nil or fill start_date
with current date if it is nil in the controller on creation.

This way we could keep using the great Calendar, but also can remove unneeded fields from
the formular.


journals

A deeper look in the code brought up

<pre>
before_validation :clear_disabled_fields
</pre>

So I think it would be a better approach to just also check the created_on field in the calender query
or
exclude the start_date from clearing.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The calendar is supposed to display issues based on their start/due dates.
I'm not sure that we want to display ALL issues on the calendar based on their creation date.
--------------------------------------------------------------------------------

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

  • カテゴリCalendar_36 にセット

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

いいね!0
いいね!0