View Issue Details

IDProjectCategoryView StatusLast Update
0010841mantisbtadministrationpublic2010-02-22 14:34
Reporteratrol Assigned Tovboctor  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0rc1 
Target Version1.2.0Fixed in Version1.2.0 
Summary0010841: Target Version not cleared when Version is deleted
Description

"Fixed in Version" and "Product Version" are cleared in all issues where the version is referenced. However "Target Version" is not.

The behaviour should be the same for all fields.

Further enhancement: If a version is deleted, provide a mechanism who checks whether there are referenced issues.

If yes, give the user the chance to:

  1. Abort
  2. Choose a version, which should be referenced instead of the old version
  3. Go on with clearing of all referenced field
TagsNo tags attached.

Activities

dhx

dhx

2009-10-28 19:18

reporter   ~0023445

We should be inserting a history item (example: 1.2 => ) for each bug where the versions are cleared. It should be possible to roll it into one SQL query.

vboctor

vboctor

2009-10-28 19:27

manager   ~0023447

I thought about this, but I would like to track this as separate work (i.e. separate issue). The work in this issue was to get target version to parity with fixed_in_version and version.

This is what I think we should do relating to updating the history.

  1. Rename should update existing bug history entries, not add new entries.
  2. Delete should add new history entries that changes from existing values to blank.

Do we want to change the last updated timestamp? My gut feel here is no.

dhx

dhx

2009-10-28 19:36

reporter   ~0023448

Sounds fair to me. I agree with your points as well.

Related Changesets

MantisBT: master-1.2.x ba426dbb

2009-10-28 02:58

vboctor


Details Diff
Fixes 0010841: Target Version not cleared when Version is deleted. Affected Issues
0010841
mod - core/version_api.php Diff File

MantisBT: master c8a9d4a5

2009-10-28 02:58

vboctor


Details Diff
Fixes 0010841: Target Version not cleared when Version is deleted. Affected Issues
0010841
mod - core/version_api.php Diff File