Skip to content

Bug 2052126: BugmailFilter extension: smart handling of components.id type#158

Open
justdave wants to merge 3 commits into
mainfrom
bug-2052126-harmony
Open

Bug 2052126: BugmailFilter extension: smart handling of components.id type#158
justdave wants to merge 3 commits into
mainfrom
bug-2052126-harmony

Conversation

@justdave

@justdave justdave commented Jul 2, 2026

Copy link
Copy Markdown
Member

Details

This extension breaks in Harmony when upgrading from a 5.0 or 5.2 install. This PR makes it be smart about handling the size of the components.id column during installation and upgrading (this is mirroring behavior already in use by the ComponentWatching extension).

This depends on PR #157 because it uses the helper function introduced in that PR. For review purposes looking only at the Bug 2052126 commit instead of the entire PR will work best, until #157 lands and gets main gets merged here again.

Additional info

Test Plan

  1. docker compose up
  2. Used the Files tab in Docker Desktop to drop a mysqldump of a Bugzilla 5.0.4 install into /root on the database image
  3. Used the Exec tab in Docker Desktop to restore that dump into the database
  4. docker compose down
  5. docker compose up and watch the output to confirm that checksetup.pl no longer shows the foreign key error and makes it past where that was previously happening.

@justdave justdave requested review from dylanwh and mrenvoize July 2, 2026 09:27
@justdave justdave changed the title Bug 2052126: BugmailFilter extension: smart handling of compoents.id type Bug 2052126: BugmailFilter extension: smart handling of components.id type Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant