FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at http://help.fogcreek.com/fogbugz.

Posts by Fog Creek Employees are marked:

Documentation
Release Notes
Network Status

Leading zeros are stripped in case titles

If the title of a case is an integer, for example, '012345', when the case is edited or assigned, the leading zero is stripped, resulting in a title of '12345'. This doesn't occur if the case title is not an integer, say '0123.4567' remains '0123.4567'. However, '-01' becomes '-1'.

Leading zeros in IDs our software generates are significant, so this causes us problems when a user sends an bug report in with a title of '00263623', and it gets changed to '263623' as soon as it is edited or assigned.
Douglas Telfer Send private email
Friday, December 15, 2006
 
 
I wasn't able to reproduce in the case title field.  However, I was able to reproduce this behavior in the custom fields (nominally called Version and Computer) in version 5.0.19.  Which version of FogBugz are you using?
Eric Nehrlich Send private email
Monday, December 18, 2006
 
 
Version 5.0.17 (DB 502) on Windows
Douglas Telfer Send private email
Monday, December 18, 2006
 
 
To clarify, this does not happen when the case is opened, only when it is assigned or edited.
Douglas Telfer Send private email
Thursday, December 21, 2006
 
 
I reproduced it in 5.0.19 using a case title which contains only the number and nothing else. If the title is pure digits and no other characters (not even a space), then editing has the effect of stripping leading zeroes.
Steve Troxell Send private email
Sunday, December 24, 2006
 
 
Thanks for the help on repro-ing the title truncation, Steve - I think I must have had spaces in there before or something because I can reproduce it now.

I'll pass that along.
Eric Nehrlich Send private email
Friday, December 29, 2006
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.