View Issue Details

IDProjectCategoryView StatusLast Update
0004985mantisbtchange logpublic2014-10-24 06:47
Reportermgerben Assigned Tograngeway  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version0.19.1 
Summary0004985: Resolution and SolvedInVersion fields are necessary for Changelog, Summary and Graphs, but they are optional.
Description

This issue has been reported in various forms. I cannot open the 'all issues page' so I can't provide the numbers at this time.
Some reports say that some issues don't appear in the changelog.

According to the sourcecode, issues are only added to the changelog when both Resolution and Solved In Version are filled.
Also graps and summary indicate a lot of bugs to be 'still open' while they are in fact closed.
This is because the Resolution field is an optional attribute, so it's not always filled in. In addition to that, you only see it in the Advanced screen. But Changelog, Summary and Graphs depend on it!

When you close a bug, you have to go to the Edit Bug page, then to Advanced, then change the resolution.
I think that this field should be mandatory, on the Close Bug screen, when you close a bug.

Same goes for 'solved in version', btw.

TagsNo tags attached.

Relationships

has duplicate 0004984 closedthraxisp Resolution and SolvedInVersion fields are necessary for Changelog, Summary and Graphs, but they are optional. 

Activities

gtomlin

gtomlin

2004-12-15 09:19

reporter   ~0008634

I have a totally vanilla test instance of 0.19.1; when I report a new issue, the Resolution is set to "open" automatically and there is no field on the page that allows me to override that. Later, when working with the issue, on those pages that allow changing the Resolution field, a different value can be selected but there is no ability to clear the field. So I don't know how you got an empty Resolution field.

Having said that, it's possible to resolve an issue with a Resolution value that makes no sense for a resolved issue (like 'open' or 'reopened'), and it's possible to resolve an issue as 'fixed' without specifying the version containing the fix.

In a vanilla installation, it's possible to take an issue directly from assigned to closed without an intermediate resolve step. The close page allows the Fixed in Version to be specified, but not the Resolution, so any issue closed this way will not appear in the Change Log. Because of the ability to close issues immediately, I think it makes sense to provide the chance to supply the same values as at resolve time. This would mean displaying Resolution and Duplicate ID fields in bug_change_status_page.php when the status is being changed to closed.

Other nice tweaks in this area would be to (a) prevent resolving/closing an issue with a value (open, reopened, etc.) that makes no sense for a resolved issue, and (b) require a fixed in version value if resolving/closing with a resolution value of fixed (if versions have been defined).

thraxisp

thraxisp

2004-12-15 20:12

reporter   ~0008644

This is possible by adding a custom function. See 0004138.

mgerben

mgerben

2004-12-16 01:53

reporter   ~0008649

Sorry to cause confusion. When I said 'not filled in' I actually meant that it remains at the default value 'still open'.
Since the Changelog only reports bugs that are
a) closed and
b) have resolution FIXED

My problem is that it is not enforced to set the resolution to 'FIXED' when you close a bug; this is an optional step that, when you skip or forget it, will leave Resolution at the default. I didn't mean to say it was ever 'empty'.

thraxisp

thraxisp

2004-12-16 07:22

reporter   ~0008653

How are you closing issues? In a vanilla installation, when you change the status to "resolved", the default setting for the resolution field is "fixed". You can change it in a dropdown menu there. The "fixed in version" is also there, but has no default.

gtomlin

gtomlin

2004-12-16 08:40

reporter   ~0008656

He could be closing the issue directly from new or assigned without ever changing the status to resolved. On a vanilla installation, report a new issue, then change the status to closed. You will not have the opportunity to set the resolution value, and you will wind up with a closed issue whose resolution value is open.

mgerben

mgerben

2004-12-16 09:41

reporter   ~0008660

Last edited: 2004-12-16 09:45

Ah, clear case of Mea Culpa here.
And it's got a bit to do with the way a lot of the workflow is hardcoded in Mantis...

I am not running vanilla Mantis. I severely recustomized the flow.
In our flow we move things from Build to Test to Closed.
And my 'resolved treshold' was at 'Closed', meaning you never see the field appear on a status change.
I moved the threshold back a few levels and voila, it works.

mgerben

mgerben

2004-12-17 07:52

reporter   ~0008693

Ok, I remember again why I set the $g_bug_resolved_status_threshold to my endstatus...

I want the 'issues resolved' on the main screen (my_view_page.php) to show the completed, tested, closed, never-to-think about anymore bugs.
So I set the status too high, namely at our endstatus.
Sideeffect was that the resolved field dissapeared

grangeway

grangeway

2014-10-10 17:44

reporter   ~0041532

In this case, I'm not sure you could make it 'mandatory' -

"Fixed in version" makes sense to set if the bug is actually fixed or gets fixed - however, there will be times where a bug might get resolved as a duplicate, no change required etc, and therefore it wouldn't be appropriate to set a resolution/fixed version.

Given this was initially reported against 0.19.1, if you feel otherwise, please reopen this bug (or a new bug) with changes required to be made in 1.2.17/1.3 that would still be applicable, and could easily be made.