Project

General

Profile

Actions

Defect #21433

closed

"version-completed" class is never set when version has no due date

Added by Tobias Fischer almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Roadmap
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Test case:

  1. Create a new version with no due date
  2. Add a new issue to this version
  3. Close the issue
  4. Close the version

The HTML code in Roadmap view will still look like this:

<article class="version-article version-incompleted">

However, all tickets in the version are closed and the version itself is closed. I'd call the version "completed" in this case, wouldn't you?

The patch from #19341 doesn't seem to work when no due date is set.


Related issues

Related to Redmine - Patch #21434: Additional CSS class for version statusClosedJean-Philippe Lang

Actions
Actions #1

Updated by Toshi MARUYAMA almost 9 years ago

  • Target version set to 3.1.4
Actions #2

Updated by Toshi MARUYAMA almost 9 years ago

  • Related to Patch #21434: Additional CSS class for version status added
Actions #3

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed
Actions #4

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 3.1.4 to 3.3.0

r15019 slightly changes the behaviour of Version#completed? I prefer to not merge it in stable branches.

Actions #5

Updated by Tobias Fischer almost 9 years ago

Sounds reasonable. Thanks, Jean-Philippe!

Actions

Also available in: Atom PDF