View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001910 | mantisbt | bugtracker | public | 2002-05-02 07:58 | 2008-04-19 04:10 |
| Reporter | Assigned To | vboctor | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.17.1 | ||||
| Fixed in Version | 1.2.0a1 | ||||
| Summary | 0001910: Provide ability to make version obsolete | ||||
| Description | We currently have a large number of versions in our system (we release early and often). Eventually everybody has upgraded and old versions are no longer used/supported. I'd like to be able to check a box in the tracker that says the version is obsolete. That way it wouldn't show up on the pull downs for product version. | ||||
| Tags | No tags attached. | ||||
|
Since the bug table stores the version name in the bug record rather than link to it, hence, deleting the version from the product versions shouldn't be a problem. The only problem that you will have with the current code is when you get to update an old bug that was associated with this version, in this case Mantis will select a different version from the list. The workaround for that is to populate the list in case of "Update Bug" with the list of versions for the project + the current version (if it is not already in the list). |
|
|
bug_update_page / bug_update_advanced_page: |
|
|
With the current DB schema in v1.1.1 it looks straight forward to add a new column to the mantis_project_version_table titled obsolete which is just a boolean. From the manage_proj_ver_edit_page.php a checkbox would need to be added to allow a manager/admin to mark that version as obsolete. Once a version is marked obsolete the bug_report_page.php/bug_report_advanced_page.php pages would need to only pull versions from the database that are not marked as obsolete. This approach never deletes a version but merely marks it as no longer supported. |
|
|
Fixed by svn:5127 Some details of the fix:
|
|