[Koha-bugs] [Bug 18666] New: Update 16.06.00.028 failing because of missing no_auto_renewal_after

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 24 18:14:18 CEST 2017


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

            Bug ID: 18666
           Summary: Update 16.06.00.028 failing because of missing
                    no_auto_renewal_after
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Installation and upgrade (web-based installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

The database update 16.06.00.028 fails with following error in an update from
3.22.19 to 16.11.08:

Attempting upgrade to 16.06.00.028 (Bug 17135) ...
DBD::mysql::st execute failed: Unknown column 'me.no_auto_renewal_after' 
in 'field list' [for Statement "SELECT `me`.`categorycode`, 
`me`.`itemtype`, `me`.`restrictedtype`, `me`.`rentaldiscount`, 
`me`.`reservecharge`, `me`.`fine`, `me`.`finedays`, 
`me`.`maxsuspensiondays`, `me`.`firstremind`, `me`.`chargeperiod`, 
`me`.`chargeperiod_charge_at`, `me`.`accountsent`, `me`.`chargename`, 
`me`.`maxissueqty`, `me`.`maxonsiteissueqty`, `me`.`issuelength`, 
`me`.`lengthunit`, `me`.`hardduedate`, `me`.`hardduedatecompare`, 
`me`.`renewalsallowed`, `me`.`renewalperiod`, `me`.`norenewalbefore`, 
`me`.`auto_renew`, `me`.`no_auto_renewal_after`, `me`.`reservesallowed`, 
`me`.`holds_per_record`, `me`.`branchcode`, `me`.`overduefinescap`, 
`me`.`cap_fine_to_replacement_price`, `me`.`onshelfholds`, 
`me`.`opacitemholds`, `me`.`article_requests` FROM `issuingrules` `me` 
WHERE ( ( `me`.`branchcode` = ? AND `me`.`categorycode` = ? AND 
`me`.`itemtype` = ? ) )" with ParamValues: 0='XXX', 1='STUDENT', 
2='NORMAL'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.

It's missing the column no_auto_renewal_after which is not present at this time
in the database. It's added later on with update 16.06.00.046.

Could it be because the schema already has the column?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list