Feature #20650
openUse creation date for displaying issues without start date on the calendar
0%
Description
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.
Updated by Stefan Rinkes about 9 years ago
A deeper look in the code brought up
before_validation :clear_disabled_fields
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.
Updated by Jean-Philippe Lang about 9 years ago
- Tracker changed from Defect to Feature
- Subject changed from Removing Field "Start Date" breaks Calender to Use creation date for displaying issues without start date on the calendar
- Target version deleted (
3.2.0)
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.