<!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 15985 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 190, Issue 4<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: Immediate logout in Koha 21.05.02 (03?) (Michael Hafen (TECH))<br>   2. REST API + DataTables (dcook@prosentient.com.au)<br>   3. Re: REST API + DataTables (Jonathan Druart)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 2 Sep 2021 12:54:21 -0600<br>From: "Michael Hafen (TECH)" <michael.hafen@washk12.org><br>To: Michael Kuhn <mik@adminkuhn.ch><br>Cc: Koha-devel <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] Immediate logout in Koha 21.05.02 (03?)<br>Message-ID:<br>    <CAAh7Ud=e9E6yVfqAqerGWaGZTsbwFNx_ZaJ+VTogUUrFxXaxww@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Seems to be a problem with the session.  Do you know what the session store<br>sys pref (SessionStorage) is set to?  If not you can get that from the<br>database in the systempreferences table.<br>If it's "tmp", then I would suggest deleting all the files in the session<br>store directory (/var/lib/koha/[instance]/tmp/cgisess_koha_[instance]/)<br>If it's "mysql", then you should be able to delete everything from the<br>session table.<br><br>That's something to try anyway.<br><br>System Preferences can be changed in the database too, when the Staff<br>interface isn't working; like in this case.  You will need to restart the<br>memcached service to flush the changed sys pref.  Might need to "koha-plack<br>--restart [instance]" as well.<br><br><br>On Thu, Sep 2, 2021 at 7:22 AM Michael Kuhn <mik@adminkuhn.ch> wrote:<br><br>> Hi<br>><br>> As written on this list on 26 August I tried to install Koha 21.05.03<br>> but after the installation Koha said the installed version was<br>> "21.05.02.003". Jonathan Druart wrote this comes from<br>><br>>   commit 8ea80995c590dad86c43df636456640d3aa84bab<br>>       Increment version for 21.05.03 release<br>><br>>   -$VERSION = "21.05.02.002";<br>>   +$VERSION = "21.05.02.003";<br>><br>> Today I updated a Koha 18.11.05 database into this Koha 21.05.02.003<br>> installation. After restarting memcached I executed "sudo<br>> koha-upgrade-schema instancename" - the output looked OK and ended with<br>> the following lines:<br>><br>>   Upgrade to 21.05.02.000 done [12:15:20]: Koha 21.05.02 release<br>>   Upgrade to 21.05.02.001 done [12:15:20]: Bug 28567 - Set to NULL empty<br>> branches fields<br>>   Upgrade to 21.05.02.002 done [12:15:20]: Bug 28813 - Update<br>> delivery_note to failure_code in message_queue<br>>   Upgrade to 21.05.02.003 done [12:15:20]: Bug 28872 - Update syspref<br>> values from on and off to 1 and 0<br>><br>> It seems even if I installed Koha 21.05.03 it only upgraded to Koha<br>> 21.05.02.<br>><br>> I don't know if there is any connection but whatever, I was able to open<br>> the staff client and to login - but as soon as I click on any link I'm<br>> logged out immediately. I am able to login again and then advance to the<br>> next link but then I'm logged out again etc ad infinitum. It is not<br>> possible to change any system preference (internal server error) or<br>> search for any users.<br>><br>> File "plack-error.log" sometimes tells me, without a timestamp:<br>><br>>   new(): failed: query object HASH(0x555f47cfad30) does not support<br>> cookie() and param() methods: Can't call method "cookie" on unblessed<br>> reference at /usr/share/perl5/CGI/Session.pm line 707.<br>><br>> File "plack-intranet-error.log" says:<br>><br>>   [2021/09/02 13:33:36] [WARN] Odd number of elements in anonymous hash<br>> at /usr/share/koha/intranet/cgi-bin/catalogue/search.pl line 577.<br>><br>> Can anyone please give me a hint how to solve this problem?<br>><br>> Best wishes: Michael<br>> --<br>> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>> T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch<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>Michael Hafen<br>Washington County School District Technology Department<br>Systems Analyst<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210902/cac8d949/attachment-0001.htm><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 3 Sep 2021 16:26:11 +1000<br>From: <dcook@prosentient.com.au><br>To: "'koha-devel'" <koha-devel@lists.koha-community.org><br>Cc: "'Owen Leonard'" <oleonard@myacpl.org>, "'Tomas Cohen Arazi'"<br>    <tomascohen@theke.io>, "'Martin Renvoize'"<br>    <martin.renvoize@ptfs-europe.com>, "'Kyle Hall'"<br>    <kyle@bywatersolutions.com><br>Subject: [Koha-devel] REST API + DataTables<br>Message-ID: <0ec801d7a08c$971dfef0$c559fcd0$@prosentient.com.au><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi all,<br><br> <br><br>Do we have any examples of using the Mojolicious REST API to provide data<br>for DataTables in Koha?<br><br> <br><br>I think the answer is probably no since the DataTables calls aren't really<br>RESTful. <br><br> <br><br>Yet, we have this growing API, and we want to use that API to make more<br>efficient user interfaces. Does anyone know how we might do that with<br>DataTables?<br><br> <br><br>On a different project, I ended up writing a specific controller just for<br>handling DataTables AJAX calls since they're very particular. But even<br>that's easier said than done in a generic way because of business rules and<br>authorization. <br><br> <br><br>Thoughts?<br><br> <br><br>David Cook<br><br>Senior 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/20210903/90f80738/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 3 Sep 2021 09:31:04 +0200<br>From: Jonathan Druart <jonathan.druart@bugs.koha-community.org><br>To: David Cook <dcook@prosentient.com.au><br>Cc: koha-devel <koha-devel@lists.koha-community.org>,  Kyle Hall<br>    <kyle@bywatersolutions.com>, Tomas Cohen Arazi <tomascohen@theke.io><br>Subject: Re: [Koha-devel] REST API + DataTables<br>Message-ID:<br>    <CAJzKNY4HJo9H578zA8OkaRLvVMYHA-6ia=fbbZox8k8a1wPa5Q@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>admin/cities.pl and /api/v1/cities ?<br>Same for branches/libraries<br><br><br>Le ven. 3 sept. 2021 à 08:26, <dcook@prosentient.com.au> a écrit :<br><br>> Hi all,<br>><br>><br>><br>> Do we have any examples of using the Mojolicious REST API to provide data<br>> for DataTables in Koha?<br>><br>><br>><br>> I think the answer is probably no since the DataTables calls aren’t really<br>> RESTful.<br>><br>><br>><br>> Yet, we have this growing API, and we want to use that API to make more<br>> efficient user interfaces. Does anyone know how we might do that with<br>> DataTables?<br>><br>><br>><br>> On a different project, I ended up writing a specific controller just for<br>> handling DataTables AJAX calls since they’re very particular. But even<br>> that’s easier said than done in a generic way because of business rules and<br>> authorization.<br>><br>><br>><br>> Thoughts?<br>><br>><br>><br>> David Cook<br>><br>> Senior 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>> 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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210903/ad5f9b40/attachment-0001.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 190, Issue 4<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>