[Koha-bugs] [Bug 35136] New: Error during database update after Bug 31383

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 23 19:12:22 CEST 2023


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

            Bug ID: 35136
           Summary: Error during database update after Bug 31383
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: aleisha at catalyst.net.nz, dcook at prosentient.com.au,
                    jonathan.druart+koha at gmail.com,
                    kyle at bywatersolutions.com, m.de.rooy at rijksmuseum.nl,
                    martin.renvoize at ptfs-europe.com,
                    nick at bywatersolutions.com, oleonard at myacpl.org,
                    tomascohen at gmail.com
        Depends on: 31383

I've run across a case where the database upgrade in Bug 31383 triggers an
error. The error is:

 ERROR - {UNKNOWN}: Not a HASH reference at
/kohadevbox/koha/installer/data/mysql/db_revs/230600041.pl line 130. at
/kohadevbox/koha/C4/Installer.pm line 741

I noticed that the error didn't happen if I deleted the 'ISSUESLIP' notice
before running the upgrade, and that the error only happened with my custom
testing database, not the default Koha testing data.

Comparing the contents of ISSUESLIP in my data and in the default, I see this
difference:

In my data:

<p style="margin-bottom: 1px; margin-top: 1px"><<additional_contents.new>></p>

In the default data:

<p style="margin-bottom: 1px; margin-top:
1px"><<additional_contents.content>></p>

I'm not sure where the difference comes in, or how common this case might be in
the wild.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31383
[Bug 31383] Additional contents: We need a parent and child table
-- 
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