View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005794 | CaseTalk Modeler | Other | public | 2026-07-25 13:19 | 2026-07-25 13:20 |
| Reporter | Marco Wobben | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Summary | 0005794: Upgrade to 4.00 fails on ctk_role.flags when the column already exists | ||||
| Description | When upgrading a CaseTalk Server database to version 4.00, the step that introduces the role-flags column can fail on databases where a 'flags' column is already present on the roles table (as a nullable column without a default). The upgrade tries to add the column unconditionally and stops with a duplicate-column error, leaving the column in an inconsistent state (nullable, no default) instead of the intended mandatory column with an empty-string default. Databases without a pre-existing flags column upgrade normally. | ||||
| Tags | No tags attached. | ||||
| CaseTalk Edition | Corporate | ||||
|
Fixed. The 4.00 upgrade now handles databases that already have a role-flags column: it normalizes the existing column to the intended mandatory column with an empty-string default instead of failing. Fresh upgrades are unaffected. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-07-25 13:19 | Marco Wobben | New Issue | |
| 2026-07-25 13:20 | Marco Wobben | Note Added: 0008605 | |
| 2026-07-25 13:20 | Marco Wobben | Status | new => resolved |
| 2026-07-25 13:20 | Marco Wobben | Resolution | open => fixed |