A new request with request id 6313 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :
Title : Koha-devel Digest, Vol 204, Issue 7
Category :
Description : Send Koha-devel mailing list submissions to
koha-devel@lists.koha-community.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
koha-devel-request@lists.koha-community.org
You can reach the person managing the list at
koha-devel-owner@lists.koha-community.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."
Today's Topics:
1. Re: FYI opac-reserve.pl seems broken in master? (Katrin Fischer)
2. FW: ERM - workflow change (Marcel de Rooy)
----------------------------------------------------------------------
Message: 1
Date: Thu, 10 Nov 2022 10:23:35 +0100
From: Katrin Fischer <katrin.fischer.83@web.de>
To: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] FYI opac-reserve.pl seems broken in master?
Message-ID: <d8549f5f-b693-16df-a16c-52c54f3fb2ae@web.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi David,
I just placed a hold in master without seeing the error. Do you have any
more information on what you tested when seeing the error?
Katrin
On 10.11.22 01:24, David Cook wrote:
>
> Hi all,
>
> Did a bit of unrelated testing this morning and I’m getting the
> following error when I visit
> http://localhost:8080/cgi-bin/koha/opac-reserve.pl?biblionumber=29
>
> DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
> DBD::mysql::st execute failed: Column 'biblionumber' in where clause
> is ambiguous at /kohadevbox/koha/Koha/Objects.pm line 394
>
> at /usr/share/perl5/DBIx/Class/Exception.pm line 77
>
> --
>
> Just about to jump in a meeting, so I thought I’d share. Might be me
> doing something wrong but figured a FYI wouldn’t hurt.
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website :https://www.koha-community.org/
> git :https://git.koha-community.org/
> bugs :https://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221110/58466fb3/attachment-0001.htm>
------------------------------
Message: 2
Date: Thu, 10 Nov 2022 10:46:17 +0000
From: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
To: Koha-devel <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] FW: ERM - workflow change
Message-ID:
<VI1PR0501MB260817D0A6CDC9AAD5B15D75CE019@VI1PR0501MB2608.eurprd05.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"
To get it working, I still needed (on a D11 container):
apt-get install nodejs npm
npm install -g yarn
yarn install
npm install -E
yarn build_js
I checked npm audit giving lots of warnings. In summary, 61 vulnerabilities (37 moderate, 17 high, 7 critical).
Should we recommend to fix those too?
yarn build_js also gives warnings:
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
main.js (1.44 MiB)
Similar one for entrypoint size limit
And WARNING in webpack performance recommendations.
In git I notice:
Changes not staged for commit:
modified: package.json
modified: yarn.lock
Untracked files:
package-lock.json
How should we handle those?
Marcel
________________________________
Van: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
Verzonden: donderdag 10 november 2022 08:50
Aan: Jonathan Druart <jonathan.druart@gmail.com>
CC: Koha Devel <koha-devel@lists.koha-community.org>
Onderwerp: Re: [Koha-devel] ERM - workflow change
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build_js'
________________________________
Van: Jonathan Druart <jonathan.druart@gmail.com>
Verzonden: donderdag 10 november 2022 08:39
Aan: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
CC: Koha Devel <koha-devel@lists.koha-community.org>
Onderwerp: Re: [Koha-devel] ERM - workflow change
Run the yarn commands at the root of the Koha src dir.
What's the output of `yarn build_js`?
Le jeu. 10 nov. 2022 à 08:15, Marcel de Rooy
<M.de.Rooy@rijksmuseum.nl> a écrit :
>
> Does this need some envvar for a path to the Koha's package.json or so ?
> When I ran yarn build_js, I did not have any valuable results.
>
> ________________________________
> Van: Koha-devel <koha-devel-bounces@lists.koha-community.org> namens Renvoize, Martin <martin.renvoize@ptfs-europe.com>
> Verzonden: woensdag 9 november 2022 18:33
> Aan: Koha Devel <koha-devel@lists.koha-community.org>
> Onderwerp: Re: [Koha-devel] ERM - workflow change
>
> To get up and running fast in k-t-d,
>
> kshell
> $ kshell
> k$ yarn install
> k$ yarn build_js
>
>
>
> On Wed, 9 Nov 2022, 3:54 pm Tomas Cohen Arazi, <tomascohen@gmail.com> wrote:
>
> Hi all, we pushed ERM but didn't communicate some decisions made:
>
> - For running the ERM component (and in the future any other Vue-driven thing) a build step needs to happen. Either:
>
> $ yarn build_js
>
> or (the dev-oriented version):
>
> $ yarn watch_js
>
> - We could've gone 'the SCSS' way, in which the RM(aint) compiles the thing and pushes to Git along with the changes. But we decided it would have an impact on the size of the repository pretty fast. So for now, the decision is we will do it at release time. This is also common practice on Vue projects.
>
> - We could add the build as part of the 'reset_all' command KTD users are familiar with. TBD
>
> - Yes, now that running Koha requires a build step, we could just add SCSS there, that's to be discussed early next cycle.
>
> - We need a way to pre-bundle all the dependencies in KTD, so people can fire up KTD while being offline. Agustín is wrapping up a proposal for this. TBD
>
> Please share your thoughts, and sorry for not communicating this earlier.
>
> --
> Tomás Cohen Arazi
> Theke Solutions (https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftheke.io%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sBmz22VOwY0biVGf3Bz%2F3u407ibEpukVmHX1onqueGg%3D&reserved=0)
> ✆ +54 9351 3513384
> GPG: B2F3C15F
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SDeZlavZ9YHsJ6LDg1kYRcklQ%2Fxz4E8ajU%2Bqr9mwFb0%3D&reserved=0
> website : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YVpdes%2FXmgWMdtmQPCujEjWXMCflidGogAePFatC%2F2c%3D&reserved=0
> git : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h%2BxoF1OKpS34bSETWXzDVY30JXJVlHFo98vTiYrEZ0g%3D&reserved=0
> bugs : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xW2x6YHpsYF%2F5AonyGcmTKJgkFQNHYTQwJeQJ%2FiYjKI%3D&reserved=0
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SDeZlavZ9YHsJ6LDg1kYRcklQ%2Fxz4E8ajU%2Bqr9mwFb0%3D&reserved=0
> website : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YVpdes%2FXmgWMdtmQPCujEjWXMCflidGogAePFatC%2F2c%3D&reserved=0
> git : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h%2BxoF1OKpS34bSETWXzDVY30JXJVlHFo98vTiYrEZ0g%3D&reserved=0
> bugs : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&data=05%7C01%7CM.de.Rooy%40rijksmuseum.nl%7C485d820262324850f10f08dac2eeb28f%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036627696763451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xW2x6YHpsYF%2F5AonyGcmTKJgkFQNHYTQwJeQJ%2FiYjKI%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221110/353ee6c9/attachment.htm>
------------------------------
Subject: Digest Footer
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/
------------------------------
End of Koha-devel Digest, Vol 204, Issue 7
******************************************
NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.