-
Bug
-
Resolution: Fixed
-
Highest
-
4.8.0
-
None
Upgrading to 4.8.0 can fail with the following error:
2016-07-19 18:09:23,409 ERROR [spring-startup] liquibase Change Set liquibase/r4_8/upgrade.xml::BSERVDEV-12993-1::cszmajda failed. Error: Error executing SQL ALTER TABLE public.sta_drift_request ADD attempts INT NOT NULL: ERROR: column "attempts" contains null values liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE public.sta_drift_request ADD attempts INT NOT NULL: ERROR: column "attempts" contains null values
A default value is not being correctly applied by the script. This will be fixed in 4.8.1. For instances which encounter this, the workaround is to delete all rows from the sta_drift_request table. Deleting those rows should have no user-visible impact on the system.
Form Name |
---|
[BSERV-8970] Incorrect SQL upgrading to 4.8.0
Workflow | Original: Stash Workflow - Restricted [ 1581922 ] | New: JAC Bug Workflow v3 [ 3135214 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 231684 ] |
Link | New: This issue is related to BSERVDEV-12449 [ BSERVDEV-12449 ] |
Assignee | New: Bryan Turner [ bturner ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "Page (Extranet)" [ 187822 ] |
Regular Expression | New: sta_drift_request ADD attempts INT NOT NULL: ERROR: column "attempts" contains null values |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: Needs Triage [ 10030 ] | New: Open [ 1 ] |