Project

General

Profile

Actions

Feature #20650

open

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

Added by Stefan Rinkes over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Calendar
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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.

Actions #1

Updated by Stefan Rinkes over 8 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.

Actions #2

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.2.0
Actions #3

Updated by Jean-Philippe Lang over 8 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.

Actions

Also available in: Atom PDF