[Koha-bugs] [Bug 17292] Use of DBIx in updatedatabase.pl broke upgrade (from bug 8956)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 12 17:13:11 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17292

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         Depends on|                            |8956
           Assignee|gmcharlt at gmail.com          |kyle.m.hall at gmail.com

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
A recent change in the 'subscription' table structure highlighted a problem in
a DBRev upgrade (3.23.00.006). As it adds a new column, when upgrading from
(say) 3.20.00.000 the code/schema (correctly) expects the subscription.itemtype
column to exist. But it is not created until DBRev 16.06.00.025.

To reproduce:
- Have a clean 3.20.00 DB loaded into kohadevbox
- Checkout current master
- Run:
  $ perl installer/data/mysql/updatedatabase.pl
=> FAIL: The upgrade procedure fails due to missing colum.

The solution: rewrite the updatedatabase.pl entry using plain DBI.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8956
[Bug 8956] Split serials enumeration data into separate fields
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list