MantisBT - mantisbt
View Issue Details
0010338mantisbttime trackingpublic2009-04-15 20:082009-04-16 13:26
brianstv 
 
normalmajoralways
newopen 
git trunk 
 
0010338: bugnote note_type changed to TIME_TRACKING whenever timetracking data is present.
The bugnote note_type is changed from it's original value to TIME_TRACKING whenever time tracking data is > 0.

This seems like an invalid usage of the note_type field just to indicate the note has time tracking data present.
I am trying to add bugnotes from a plugin via the bugnote api and have added some new note types for the plugin, but if time tracking data is added, the note type gets changed. This implies that time tracking can not be used with other note types than the TIME_TRACKING type which is a loss of functionality.
This problem can be demonstrated simply by clicking the 'Send a Reminder' from an issue. This creates a note with a type of REMINDER on the issue.
Then if you edit the note and add time tracking info, the note type is changed to TIME_TRACKING and the note no longer acts as a reminder.
It would be preferable if the time tracking worked independent from the note type.

It would also be nice if the note could display it's type, configurable of course.
 
No tags attached.
Issue History
2009-04-15 20:08brianstvNew Issue
2009-04-16 09:39dhxNote Added: 0021573
2009-04-16 09:40dhxNote Edited: 0021573bug_revision_view_page.php?bugnote_id=0021573#r22
2009-04-16 13:26brianstvNote Added: 0021578

Notes
(0021573)
dhx   
2009-04-16 09:39   
(edited on: 2009-04-16 09:40)
This is fixed by using Mantis 1.2.x with the SourceIntegration plugin from mantisforge.org

The Mantis 1.1.x time tracking is deprecated and ugly.

Note that the old time tracking still exists in Mantis 1.2.x for now, so the best you can do is disable the old time tracking in config_inc.php

(0021578)
brianstv   
2009-04-16 13:26   
So what you are saying is that there isn't going to be any time tracking going forward in the note function?

We wanted to be able to track time for development work, QA work, etc. by using the note type and the time tracking.