View Issue Details

IDProjectCategoryView StatusLast Update
0004081mantisbtupgradepublic2004-07-18 11:33
Reporterchristianh Assigned Tovboctor  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Fixed in Version0.19.0a2 
Summary0004081: mantis_upgrade_table.upgrade_id too small
Description

The most recent four DB upgrades have names that are too long for the DB. My mantis_upgrade_table.upgrade_id was only 20 characters big so it truncated the last 4 upgrade names. This meant the upgrade system thought they hadn't been applied even when they had.

Additional Information

Applies to these upgrades:

version_add_version_id_pk
version_add_project_version_index
version_add_description
version_add_released_flag

TagsNo tags attached.

Activities

vboctor

vboctor

2004-07-13 07:38

manager   ~0006012

I fixed the problem, but unable to commit at the moment due to CVS error. The fix included the following:

  • Truncate the upgrade id in the upgrade script.
  • Added a check in the upgrade script to trap such problem in the future and prompt the developer with an error message.

Will commit as soon as CVS works.

Related Changesets

MantisBT: master b2f5d835

2004-07-13 08:53

vboctor


Details Diff
Fix 0004081: mantis_upgrade_table.upgrade_id too small (vboctor).

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2694 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0004081
mod - admin/upgrade_inc.php Diff File
mod - doc/ChangeLog Diff File
mod - admin/upgrades/0_18_inc.php Diff File