Defect #21433
"version-completed" class is never set when version has no due date
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Roadmap | |||
Target version: | 3.3.0 | |||
Resolution: | Fixed | Affected version: | 3.1.3 |
Description
Test case:
- Create a new version with no due date
- Add a new issue to this version
- Close the issue
- 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
Associated revisions
Closed versions should be marked as completed (#21433).
History
#1
Updated by Toshi MARUYAMA over 6 years ago
- Target version set to 3.1.4
#2
Updated by Toshi MARUYAMA over 6 years ago
- Related to Patch #21434: Additional CSS class for version status added
#3
Updated by Jean-Philippe Lang over 6 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
#4
Updated by Jean-Philippe Lang over 6 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.
#5
Updated by Tobias Fischer over 6 years ago
Sounds reasonable. Thanks, Jean-Philippe!