View Issue Details

IDProjectCategoryView StatusLast Update
0003568mantisbtbugtrackerpublic2004-08-29 01:29
Reporterevelk Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.1 
Summary0003568: Monitor deleted bugs?
Description

When I add a new bug (#123), monitor it for a user (Jim), delete the bug (#123) and create a new bug (again #123) then user Jim is still monitoring this (completely different!) bug!

Steps To Reproduce

create bug
monitor bug
delete bug
immediately create new bug

Additional Information

The monitoring records should be deleted when a bug is deleted!

TagsNo tags attached.

Activities

vboctor

vboctor

2004-02-19 09:00

manager   ~0005060

Fixed in CVS. Will be available in the next release.

The only thing I am not sure about, is how do you re-add the bug with the same id!!!

evelk

evelk

2004-02-19 09:05

reporter   ~0005061

If you create a new bug, delete it and then create a new one, the same id will be used!

Enforcer

Enforcer

2004-02-19 12:00

reporter   ~0005063

That must be a strange MySQL setting G but as far as i know its possible to make the autoinc in a way it use the next free number

maybe you index the tables daily or something like that ?

grangeway

grangeway

2004-08-26 18:20

reporter   ~0007207

bug_id is set to autonumber in schema so that shouldn't be possible unless you've accidently turned off the auto-numbering.

Other issue is fixed in previous cvs, so resolving this.

evelk

evelk

2004-08-27 03:47

reporter   ~0007218

Table type was ISAM instead of MyISAM. In that case the highest value (+1) will be reused in auto-increment fields!

grangeway

grangeway

2004-08-27 12:22

reporter   ~0007235

hmm, interesting mysql behaviour then :)

anyway, as victor patched in cvs to handle this (persumably, deleting a bug now deletes monitoring links, this issue can be resolved still.

If this isn't the case, let us know.