Use creation date for displaying issues without start date on the calendar
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
Updated by Stefan Rinkes over 7 years ago
A deeper look in the code brought up
So I think it would be a better approach to just also check the created_on field in the calender query
exclude the start_date from clearing.
Updated by Toshi MARUYAMA over 7 years ago
- Target version set to 3.2.0
Updated by Jean-Philippe Lang over 7 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 (
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.