Bug 1315132 - Add a script to run before the database
Summary: Add a script to run before the database
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 5.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-07 01:14 UTC by Jeff Fearn 🐞
Modified: 2018-12-09 06:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-18 05:02:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2016-03-07 01:14:23 UTC
Description of problem:
We need to run a script before rh-database-update.pl is run for an upgrade from BZ-4 to BZ-5, to clean any data that will break the upgrade.

Rename bz5-cleanup.pl to bz5-post-db-update.pl and name the new script bz5-pre-db-update.pl

Current know issue is that there are two polarion entries that will break on the new index.

Comment 1 Rony Gong 🔥 2016-03-22 09:58:45 UTC
Verified the issue.
The result is PASS.
version 5.0.2.rh2
That 2 scripts could execute smoothly in the server.


Note You need to log in before you can comment on or make changes to this bug.