<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 18867 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 185, Issue 9<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Plugin hooks on datas and store() (Fridolin SOMERS)<br>   2. koha-testing-docker / master broken? (dcook@prosentient.com.au)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 12 Apr 2021 12:55:22 +0200<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: Tomas Cohen Arazi <tomascohen@gmail.com><br>Cc: Jonathan Druart <jonathan.druart@bugs.koha-community.org>,<br>    koha-devel <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] Plugin hooks on datas and store()<br>Message-ID: <1e475ecf-5642-a12d-fcee-209d88962311@biblibre.com><br>Content-Type: text/plain; charset=utf-8; format=flowed<br><br>For example I try for example to edit items.note after item modification.<br><br>I need this but just trying to understand if its possible or not.<br>If its not possible we should document it :D<br><br>Best regards<br><br>Le 12/03/2021 à 18:00, Tomas Cohen Arazi a écrit :<br>> What are you actually trying to accomplish? Do you really need the <br>> post-store object?<br>> <br>> El vie., 12 mar. 2021 12:34, Fridolin SOMERS <br>> <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com>> <br>> escribió:<br>> <br>>     Oh indeed,<br>> <br>>     So maybe :<br>>     1) call SUPER::store()<br>>     2) call hook with $self<br>>     3) call SUPER::store() incase $seft has changed<br>> <br>>     What do you think ?<br>> <br>>     2) must call $seft->discard_changes right ?<br>> <br>>     Le 12/03/2021 à 15:14, Jonathan Druart a écrit :<br>>      > So to have a "post_creation" hook that would be actually called<br>>     *before*<br>>      > the item is effectively created, hum... :)<br>>      ><br>>      ><br>>      > Le ven. 12 mars 2021 à 13:47, Fridolin SOMERS<br>>      > <fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>> a<br>>      > écrit :<br>>      ><br>>      >     Mmmm interesting.<br>>      ><br>>      >     Why not send the $self object to plugin<br>>      >     and call SUPER::store() after hook ?<br>>      ><br>>      >     Best regards,<br>>      ><br>>      ><br>>      >     Le 10/03/2021 à 09:22, Jonathan Druart a écrit :<br>>      >      >  From perlobj pod:<br>>      >      > "The |SUPER| pseudo-class is resolved from the package<br>>     where the<br>>      >     call is<br>>      >      > made. It is /not/ resolved based on the object's class."<br>>      >      ><br>>      >      > You can still call $item->_result->update.<br>>      >      ><br>>      >      > I suggest you open a bug report to add a no_trigger flag to<br>>      >      > Koha::Object->store (like we did in Koha::Objects).<br>>      >      ><br>>      >      > Also spotted, at the end of store:<br>>      >      >   193     my $result = $self->SUPER::store;<br>>      >      ><br>>      >      >   202     $self->get_from_storage->_after_item_action_hooks({<br>>      >     action =><br>>      >      > $action });<br>>      >      >   203<br>>      >      >   204     return $result;<br>>      >      ><br>>      >      > That's wrong!<br>>      >      ><br>>      >      > Le mar. 9 mars 2021 à 09:32, Fridolin SOMERS<br>>      >      > <fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>>> a<br>>      >      > écrit :<br>>      >      ><br>>      >      >     Yop<br>>      >      ><br>>      >      >     I've tried with :<br>>      >      ><br>>      >      >     sub after_item_action {<br>>      >      >           my ( $self, $params ) = @_;<br>>      >      >           warn "AFTER ITEM ACTION";<br>>      >      ><br>>      >      >           my $item = $params->{item};<br>>      >      >           $item->itemnotes("Edited at " . localtime);<br>>      >      >     }<br>>      >      ><br>>      >      >     Calling $item->SUPER::store() generates an error :<br>>      >      ><br>>      >      >     Plugin error (Example Kitchen-Sink Plugin): Can't locate<br>>      >     object method<br>>      >      >     "store" via package<br>>      >     "Koha::Plugin::Com::ByWaterSolutions::KitchenSink"<br>>      >      >     at<br>>      >      ><br>>      >     <br>>       /mnt/git/koha-plugin-kitchen-sink/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm<br>>      >      ><br>>      >      >     line 580.<br>>      >      ><br>>      >      >     Surely only Koha::Item can call SUPER.<br>>      >      ><br>>      >      >     Adding $self->SUPER::store() at the end of<br>>      >     Koha::Item->store() does<br>>      >      >     also<br>>      >      >     not work.<br>>      >      ><br>>      >      >     Is it because of "get_from_storage" ?<br>>      >      ><br>>      >      >     $self->get_from_storage->_after_item_action_hooks({<br>>     action =><br>>      >      >     $action });<br>>      >      ><br>>      >      >     The _after_item_action_hooks method is called not on<br>>     object $self<br>>      >      >     but on<br>>      >      >     a copy ?<br>>      >      ><br>>      >      >     Best regards,<br>>      >      ><br>>      >      >     Le 08/03/2021 à 11:49, Jonathan Druart a écrit :<br>>      >      >      > I wouldn't add other hooks, they are<br>>      >     "_after_item_action_hooks" for<br>>      >      >      > creation and modification.<br>>      >      >      > "After item creation" should allow you to modify<br>>     the item,<br>>      >     unless we<br>>      >      >      > need a "pre store" hook.<br>>      >      >      > I had a look at the code and I didn't find any<br>>     problems.<br>>      >      >      > Fridolin, what did you try exactly, can you share<br>>     the code?<br>>      >      >      ><br>>      >      >      > Le lun. 8 mars 2021 à 11:17, Tomas Cohen Arazi<br>>      >      >     <tomascohen@gmail.com <mailto:tomascohen@gmail.com><br>>     <mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com>><br>>      >     <mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com><br>>     <mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com>>><br>>      >      >      > <mailto:tomascohen@gmail.com<br>>     <mailto:tomascohen@gmail.com> <mailto:tomascohen@gmail.com<br>>     <mailto:tomascohen@gmail.com>><br>>      >     <mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com><br>>     <mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com>>>>> a<br>>      >      >     écrit :<br>>      >      >      ><br>>      >      >      >     Maybe you need some other hook. Ones that<br>>     allows you<br>>      >     to make<br>>      >      >     changes<br>>      >      >      >     to the object right before it is stored instead of<br>>      >     this one, that<br>>      >      >      >     gets the 'just updated' object.<br>>      >      >      >     When I added 'after' hooks for biblios and items<br>>      >     actions, the<br>>      >      >     idea<br>>      >      >      >     was that they should act as triggers for other<br>>      >     actions: in my<br>>      >      >     case,<br>>      >      >      >     fill a zebraqueue-ish table my plugin uses.<br>>      >      >      ><br>>      >      >      >     El lun, 8 mar 2021 a las 5:11, Fridolin SOMERS<br>>      >      >      >     (<fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>><br>>      >      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>>>>) escribió:<br>>      >      >      ><br>>      >      >      >         Hi,<br>>      >      >      ><br>>      >      >      >         While testing new hook :<br>>      >      >      ><br>>      > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066><br>>      >   <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066>><br>>      >      ><br>>      >     <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066><br>>      >   <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066>>><br>>      >      >      ><br>>      >      ><br>>      >     <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066><br>>      >   <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066>><br>>      >      ><br>>      >     <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066><br>>      >   <br>>       <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066<br>>     <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27066>>>><br>>      >      >      ><br>>      >      >      >         I faced a problem :<br>>      >      >      >         How can I modify the current patron object ?<br>>      >      >      >         Since we are in the store() method of that<br>>     object and<br>>      >      >     inside a<br>>      >      >      >         transation.<br>>      >      >      >         I tried to call $self->SUPER::store(); but does<br>>      >     not work.<br>>      >      >      ><br>>      >      >      >         Should we implement this possiblity or document<br>>      >     hooks to<br>>      >      >     say it is<br>>      >      >      >         impossible.<br>>      >      >      ><br>>      >      >      >         Thanks a lot for your help :D<br>>      >      >      ><br>>      >      >      >         Best regards,<br>>      >      >      ><br>>      >      >      >         --<br>>      >      >      >         Fridolin SOMERS<br>>     <fridolin.somers@biblibre.com <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>><br>>      >      >      >         <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>>>><br>>      >      >      >         Software and system maintainer 🦄<br>>      >      >      >         BibLibre, France<br>>      >      >      >         _______________________________________________<br>>      >      >      >         Koha-devel mailing list<br>>      >      >      > Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>><br>>      >      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>>><br>>      >      >      >         <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>><br>>      >      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>>>><br>>      >      >      ><br>>      >      ><br>>      ><br>>     https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>>     <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>>      >   <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>><br>>      >      ><br>>      >     <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>>><br>>      >      >      ><br>>      >      ><br>>      >     <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>>>><br>>      >      >      >         website : https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>><br>>      >      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>>><br>>      >      >      >         <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>><br>>      >      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>>>><br>>      >      >      >         git : https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>><br>>      >      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>>><br>>      >      >      >         <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>><br>>      >      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>>>><br>>      >      >      >         bugs : https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>><br>>      >      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>>><br>>      >      >      >         <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>><br>>      >      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>>>><br>>      >      >      ><br>>      >      >      ><br>>      >      >      ><br>>      >      >      >     --<br>>      >      >      >     Tomás Cohen Arazi<br>>      >      >      >     Theke Solutions (http://theke.io<br>>     <http://theke.io> <http://theke.io <http://theke.io>><br>>      >     <http://theke.io <http://theke.io> <http://theke.io<br>>     <http://theke.io>>><br>>      >      >     <http://theke.io/ <http://theke.io/> <http://theke.io/<br>>     <http://theke.io/>> <http://theke.io/ <http://theke.io/><br>>      >     <http://theke.io/ <http://theke.io/>>>>)<br>>      >      >      >     ✆ +54 9351 3513384<br>>      >      >      >     GPG: B2F3C15F<br>>      >      >      >     _______________________________________________<br>>      >      >      >     Koha-devel mailing list<br>>      >      >      > Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>><br>>      >      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>>><br>>      >      >      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>><br>>      >      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org><br>>      >     <mailto:Koha-devel@lists.koha-community.org<br>>     <mailto:Koha-devel@lists.koha-community.org>>>><br>>      >      >      ><br>>      >      ><br>>      ><br>>     https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>>     <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel><br>>      >   <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>><br>>      >      ><br>>      >     <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>>><br>>      >      >      ><br>>      >      ><br>>      >     <br>>       <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel> <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>>>><br>>      >      >      >     website : https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>><br>>      >      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>>><br>>      >      >      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>><br>>      >      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/><br>>      >     <https://www.koha-community.org/<br>>     <https://www.koha-community.org/>>>><br>>      >      >      >     git : https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>><br>>      >      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>>> <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>><br>>      >      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/><br>>      >     <https://git.koha-community.org/<br>>     <https://git.koha-community.org/>>>><br>>      >      >      >     bugs : https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>><br>>      >      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>>><br>>      >      >      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>><br>>      >      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/><br>>      >     <https://bugs.koha-community.org/<br>>     <https://bugs.koha-community.org/>>>><br>>      >      >      ><br>>      >      ><br>>      >      >     --<br>>      >      >     Fridolin SOMERS <fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>      >      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>>><br>>      >      >     Software and system maintainer 🦄<br>>      >      >     BibLibre, France<br>>      >      ><br>>      ><br>>      >     --<br>>      >     Fridolin SOMERS <fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com><br>>      >     <mailto:fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>>><br>>      >     Software and system maintainer 🦄<br>>      >     BibLibre, France<br>>      ><br>> <br>>     -- <br>>     Fridolin SOMERS <fridolin.somers@biblibre.com<br>>     <mailto:fridolin.somers@biblibre.com>><br>>     Software and system maintainer 🦄<br>>     BibLibre, France<br>> <br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 13 Apr 2021 10:22:09 +1000<br>From: <dcook@prosentient.com.au><br>To: <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] koha-testing-docker / master broken?<br>Message-ID: <018001d72ffb$0adde510$2099af30$@prosentient.com.au><br>Content-Type: text/plain; charset="utf-8"<br><br>I was upgrading my koha-testing-docker: "We are upgrading from Koha<br>20.12.00.003 to 20.12.00.029"<br><br> <br><br>But it's failing with this error:<br><br> <br><br>[Tue Apr 13 00:19:38 2021] updatedatabase.pl: {UNKNOWN}: DBI Exception:<br>DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key 'PRIMARY' [for<br>Statement "UPDATE systempreferences set variable="TaxRates" WHERE<br>variable="gist""] at /usr/share/perl5/DBIx/Class/Schema.pm line 1118.<br><br>[Tue Apr 13 00:19:38 2021] updatedatabase.pl:<br>DBIx::Class::Schema::throw_exception(Koha::Schema=HASH(0x55deb3ffd678), "DBI<br>Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at<br>/usr/share/perl5/DBIx/Class/Storage.pm line 113<br><br>[Tue Apr 13 00:19:38 2021] updatedatabase.pl:<br>DBIx::Class::Storage::throw_exception(DBIx::Class::Storage::DBI::mysql=HASH(<br>0x55deb376ea38), "DBI Exception: DBD::mysql::db do failed: Duplicate entry<br>'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1501<br><br>[Tue Apr 13 00:19:38 2021] updatedatabase.pl:<br>DBIx::Class::Storage::DBI::__ANON__("DBD::mysql::db do failed: Duplicate<br>entry 'TaxRates' for key "..., DBI::db=HASH(0x55deb509a688), undef) called<br>at /kohadevbox/koha/installer/data/mysql/updatedatabase.pl line 23442<br><br> <br><br>I'm going to try pulling new images and such but FYI.<br><br> <br><br>David Cook<br><br>Software Engineer<br><br>Prosentient Systems<br><br>Suite 7.03<br><br>6a Glen St<br><br>Milsons Point NSW 2061<br><br>Australia<br><br> <br><br>Office: 02 9212 0899<br><br>Online: 02 8005 0595<br><br> <br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210413/a4a65db7/attachment.htm><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 185, Issue 9<br>******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>