View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031889 | mantisbt | bugtracker | public | 2023-01-09 08:57 | 2023-01-17 07:27 |
Reporter | D.Schneider | Assigned To | dregad | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 2.20.0 | ||||
Target Version | 2.25.6 | ||||
Summary | 0031889: Product Version / Target Version - Date missing | ||||
Description | After updating to the latest Mantis version, the version date is no longer displayed (Product Version / Target Version) I use the following setting: | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Starting from 2.20.0, version dates are just displayed for released versions https://github.com/mantisbt/mantisbt/commit/8fbf719447ec72500b648ee440298811f8050bd7 @dregad @vboctor what do you think? @D.Schneider I guess the date display is helpful for you especially when setting target version. Right? |
|
@atrol The PHPDoc for $g_show_version_dates_threshold states: I can see why @cproensa may have interpreted "date of release" in that way, as by definition unreleased versions do not technically have an effective "release" date, even though they could (and often do) have a tentative/planned release date. So I think this change was wrong. Considering that prepare_version_string() is only used within print_version_option_list(), I do not believe there are other considerations than the reported issue, and no risk to go back to pre-2.20 behavior. Therefore I propose to partially revert MantisBT master 8fbf7194, keeping the version cache improvement but removing the test for version release state. I can take care of the change and include it in upcoming 2.25.6 if you agree. |
|
Fine from my side |
|
@atrol Yes it is very useful to set the versions and also see when which bug fix/feature comes out |
|
What about the issue page itself. I think the version dates were visible there before? Reason why needed: |
|
You're right. Another regression (screenshot taken with release 2.19.1). |
|
Will this also be fixed? |
|
It would make sense to fix it as well. However, this is not the same root cause, and I'm afraid that it will not be as simple to fix. |
|
The regression on Bug View Page started with introduction of IssueViewCommand in MantisBT master 2b163046 There are several possible ways to fix this, and I'm not sure which one would be best. I have asked @vboctor for advice, see PR for details. @D.Schneider, do you see other places, where the version date is no longer displayed ? |
|
I think these were all places |
|