Project

General

Profile

Actions

Patch #34654

open

Accounting for the closing date of the issue when calculating the overdue

Patch #34654: Accounting for the closing date of the issue when calculating the overdue

Added by Stan Efremov almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues planning
Target version:
-

Description

When calculating the overdue for issues, the closing date of the issues is not taken into account, despite the availability of relevant information. An overdue issue remains overdue even after it is closed.

Environment:
Redmine version 4.0.4.stable
Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]
Rails version 5.2.3
Environment test
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::InlineAdapter
Mailer delivery test\nSCM:
Subversion 1.9.7
Git 2.17.1
Filesystem
Redmine plugins: no plugin installed


Files

fix_overdue.patch (2.45 KB) fix_overdue.patch Stan Efremov, 2021-01-29 09:13

Related issues 1 (1 open — 0 closed)

Has duplicate Redmine - Patch #35919: Illumination of overdue closed issuesNewActions

Updated by Mischa The Evil almost 6 years ago Actions #1

Stan Efremov wrote:

An overdue issue remains overdue even after it is closed.

This is not true. Issue#overdue? will not return true in case an issue is closed (due to the '&& !closed?' condition).

Furthermore, the plain use of Date.current might cause problems due to (user) timezone settings.

Updated by Stan Efremov almost 6 years ago Actions #2

Mischa The Evil wrote:

Stan Efremov wrote:

An overdue issue remains overdue even after it is closed.

This is not true. Issue#overdue? will not return true in case an issue is closed (due to the '&& !closed?' condition).

Furthermore, the plain use of Date.current might cause problems due to (user) timezone settings.

Issue does not stop being overdue after it is closed.

Updated by 丽 李 almost 6 years ago Actions #3

  • File 微信图片_20210201123844.jpg added

Updated by 丽 李 almost 6 years ago Actions #4

  • File 0121 (1).xlsx added

Updated by Go MAEDA almost 6 years ago Actions #5

  • File deleted (微信图片_20210201123844.jpg)

Updated by Go MAEDA almost 6 years ago Actions #6

  • File deleted (0121 (1).xlsx)

Updated by Mischa The Evil about 5 years ago Actions #7

  • Has duplicate Patch #35919: Illumination of overdue closed issues added
Actions

Also available in: PDF Atom