Summary | upgrade from 2.1 to 2.2 is broken for postgres |
Queue | Turba |
Queue Version | 2.2-RC1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, mrubinsk (at) horde (dot) org |
Requester | cbs (at) cts (dot) ucla (dot) edu |
Created | 12/02/2007 (6438 days ago) |
Due | |
Updated | 12/06/2007 (6434 days ago) |
Assigned | 12/04/2007 (6436 days ago) |
Resolved | 12/06/2007 (6434 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://cvs.horde.org/co.php?r=1.18&p=1&f=turba%2Fscripts%2Fupgrades%2F2.1_to_2.2_sql_schema.php
http://cvs.horde.org/co.php?r=1.18&p=1&f=turba%2Fscripts%2Fupgrades%2F2.1_to_2.2_sql_schema.php
http://cvs.horde.org/co.php?r=1.17&p=1&f=turba%2Fscripts%2Fupgrades%2F2.1_to_2.2_sql_schema.php
object_photo and object_logo. Commenting those out, the rest of the
script appears to run fine.
State ⇒ Feedback
http://cvs.horde.org/co.php?r=1.17&p=1&f=turba%2Fscripts%2Fupgrades%2F2.1_to_2.2_sql_schema.php
stuff after you fixed the MDB2/DB issue, Michael.
State ⇒ Assigned
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Turba
Summary ⇒ upgrade from 2.1 to 2.2 is broken for postgres
Type ⇒ Bug
'ALTER TABLE ' . $db_table . ' CHANGE object_name object_lastname
VARCHAR(255)',
It should be:
'ALTER TABLE ' . $db_table . ' ALTER object_name TYPE VARCHAR(255)',
'ALTER TABLE ' . $db_table . ' RENAME object_name TO object_lastname',
Also,
require_once HORDE_BASE . '/lib/core.php';
I'm guessing needs to be moved up before
require_once 'Horde/CLI.php';
And, lastly, it depends on MDB2 which isn't tested for in any of the
test.php scripts or mentioned in any of the included docs that grep
could find.