View Issue Details

IDProjectCategoryView StatusLast Update
0011403mantisbtbugtrackerpublic2010-02-22 14:34
Reporterdhx Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0 
Target Version1.2.0Fixed in Version1.2.0 
Summary0011403: Bugnote view state change history item doesn't format bugnote IDs
Description

When changing the view state of a bugnote, the history item added looks something like:

Note View State: private: 214

Note that the bugnote ID 214 is not properly formatted. It should be showing something like this instead:

Note View State: 0000214: Private

TagsNo tags attached.

Activities

rerbin

rerbin

2010-01-20 23:00

reporter   ~0024205

When I use the daily build of mantisbt-1.2.0rc2-2010-01-19-master-1.2.x-077921d,the format is still wrong:
2010-01-08 00:10 rerbin Note View State: 41: private

in view.php's "Issue History" area.

"Note View State: 41: private" should be "Note View State: 0000041: private"

dhx

dhx

2010-01-21 03:28

reporter   ~0024206

The full number with 0's at the front is stored as a string in the database (and is read as such). Therefore old history items are unaffected by the fix I applied to this issue. It only works for history items made from the date that I applied the fix.

Related Changesets

MantisBT: master-1.2.x b9bd7394

2010-01-17 06:57

dhx


Details Diff
Fix 0011403: Bugnote ID not formatted correctly in history (view status)

When changing the view state of a bugnote, the history item added looks
something like:

Note View State: private: 214

Note that the bugnote ID 214 is not properly formatted. It should be
showing something like this instead:

Note View State: 0000214: private
Affected Issues
0011403
mod - core/history_api.php Diff File
mod - core/bugnote_api.php Diff File

MantisBT: master e7283356

2010-01-17 06:57

dhx


Details Diff
Fix 0011403: Bugnote ID not formatted correctly in history (view status)

When changing the view state of a bugnote, the history item added looks
something like:

Note View State: private: 214

Note that the bugnote ID 214 is not properly formatted. It should be
showing something like this instead:

Note View State: 0000214: private
Affected Issues
0011403
mod - core/bugnote_api.php Diff File
mod - core/history_api.php Diff File