From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 00:00:57 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Mon, 31 Oct 2022 23:00:57 +0000 Subject: [Koha-bugs] [Bug 31562] Patron 'flags' don't respect unwanted fields In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31562 Lucas Gass changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas at bywatersolutions.com --- Comment #15 from Lucas Gass --- Patchset won't apply cleanly for 22.05.x. If needed please rebase -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 00:02:00 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Mon, 31 Oct 2022 23:02:00 +0000 Subject: [Koha-bugs] [Bug 7021] Add patron category to the statistics table In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7021 Lucas Gass changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Needs documenting CC| |lucas at bywatersolutions.com --- Comment #60 from Lucas Gass --- Enhancement will not be backported to 22.05.x -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 00:06:07 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Mon, 31 Oct 2022 23:06:07 +0000 Subject: [Koha-bugs] [Bug 31367] Display of sub-funds does not include totals of sub-sub-funds on acquisitions home page In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31367 Lucas Gass changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable Version(s)|22.11.00 |22.11.00, 22.05.07 released in| | CC| |lucas at bywatersolutions.com --- Comment #6 from Lucas Gass --- Backported to 22.05.x for upcoming 22.05.07 release -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:05:39 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:05:39 +0000 Subject: [Koha-bugs] [Bug 28172] Optimize Koha::Plugins::GetPlugins In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28172 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david at davidnind.com Status|Needs Signoff |Patch doesn't apply --- Comment #4 from David Nind --- The patch no longer applies :-(.. -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:36:28 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:36:28 +0000 Subject: [Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:36:33 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:36:33 +0000 Subject: [Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #135661|0 |1 is obsolete| | --- Comment #26 from David Nind --- Created attachment 142844 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142844&action=edit Bug 29672: [DO NOT PUSH] Test script Run test-plugins-call.pl without arguments with and without the patches, with some plugins enabled. Make sure to run misc/devel/install_plugins.pl before Signed-off-by: David Nind -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:36:38 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:36:38 +0000 Subject: [Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #135660|0 |1 is obsolete| | --- Comment #27 from David Nind --- Created attachment 142845 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142845&action=edit Bug 29672: Increase performance of Koha::Plugins->call Make use of Koha::Cache::Memory::Lite to avoid hitting the database and creating plugins object for every call to Koha::Plugins->call Test plan: 1. Make sure plugins still work by executing `prove t/db_dependent/Koha/Plugins/Plugins.t` 2. Run the test script provided in the following patch to see how it affects performances Signed-off-by: David Nind -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:36:42 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:36:42 +0000 Subject: [Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #135704|0 |1 is obsolete| | --- Comment #28 from David Nind --- Created attachment 142846 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142846&action=edit Bug 29672: Clear cache of enabled plugins when a plugin's state change Signed-off-by: David Nind -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 01:53:17 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 00:53:17 +0000 Subject: [Koha-bugs] [Bug 29672] Increase performance of Koha::Plugins->call In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29672 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david at davidnind.com Status|Signed Off |Failed QA --- Comment #29 from David Nind --- Apologies, I signed off and then reealised that I hadn't run the tests after applying the patches! Tests now fail after the patches are applied. Weirdly, running the tests seemed to uninstall the plugins. I reinstalled the plugins again, flush_memcached + restart_all, and ran the tests again - they failed [4]. Testing notes (using koha-testing-docker): 1. Ran prove t/db_dependent/Koha/Plugins/Plugins.t - tests passed 2. Installed 2 plugins and enabled 3. Ran misc/devel/install_plugins.pl [1] 4. Applied test script patch and ran [2] 5. Applied other patches and flush_memcached + restart_all 6. Re-ran test script [3] 7. Ran prove t/db_dependent/Koha/Plugins/Plugins.t - tests failed [1] Output from running misc/devel/install_plugins.pl: misc/devel/install_plugins.pl Installed Example Kitchen-Sink Plugin version 2.3.0 Installed BiblbioCommons connector plugin for Koha version 0.5.3 All plugins successfully re-initialised [2] Output of the test script BEFORE the patches were applied: ./test-plugins-call.pl 1 call(s): Elapsed 0.686131 seconds 10 call(s): Elapsed 0.093689 seconds 100 call(s): Elapsed 0.572402 seconds 1000 call(s): Elapsed 5.629604 seconds [3] Output of the test script AFTER the patches were applied: ./test-plugins-call.pl 1 call(s): Elapsed 0.683855 seconds 10 call(s): Elapsed 0.000213 seconds 100 call(s): Elapsed 0.001843 seconds 1000 call(s): Elapsed 0.017745 seconds [4] Tests fail after patches are applied: prove t/db_dependent/Koha/Plugins/Plugins.t t/db_dependent/Koha/Plugins/Plugins.t .. 6/61 # Failed test at t/db_dependent/Koha/Plugins/Plugins.t line 112. # found warning: Failed to load Koha::Plugin::Com::ByWaterSolutions::KitchenSink: Could not find or check module 'Koha::Plugin::Com::ByWaterSolutions::KitchenSink' at /kohadevbox/koha/Koha/Plugins.pm line 116. # found warning: Failed to load Koha::Plugin::Com::Theke::BiblioCommons: Could not find or check module 'Koha::Plugin::Com::Theke::BiblioCommons' at /kohadevbox/koha/Koha/Plugins.pm line 116. # found warning: Plugin error (Test Plugin): Exception 'Koha::Exception' thrown 'item_barcode_transform called with parameter: 1' # found warning: Plugin error (Test Plugin for item_barcode_transform): Exception 'Koha::Exception' thrown 'item_barcode_transform called with parameter: 2' # expected to find warning: Plugin error (Test Plugin): Exception 'Koha::Exception' thrown 'item_barcode_transform called with parameter: 1' # expected to find warning: Plugin error (Test Plugin for item_barcode_transform): Exception 'Koha::Exception' thrown 'item_barcode_transform called with parameter: 2' # Looks like you failed 1 test of 6. # Failed test 'more call() tests' # at t/db_dependent/Koha/Plugins/Plugins.t line 129. t/db_dependent/Koha/Plugins/Plugins.t .. 48/61 # Looks like you failed 1 test of 61. t/db_dependent/Koha/Plugins/Plugins.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/61 subtests Test Summary Report ------------------- t/db_dependent/Koha/Plugins/Plugins.t (Wstat: 256 Tests: 61 Failed: 1) Failed test: 7 Non-zero exit status: 1 Files=1, Tests=61, 3 wallclock secs ( 0.03 usr 0.01 sys + 2.63 cusr 0.24 csys = 2.91 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:02:30 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:02:30 +0000 Subject: [Koha-bugs] [Bug 31517] C4::Tags should use Koha::Tags objects instead of raw SQL In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31517 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:02:34 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:02:34 +0000 Subject: [Koha-bugs] [Bug 31517] C4::Tags should use Koha::Tags objects instead of raw SQL In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31517 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #140187|0 |1 is obsolete| | --- Comment #4 from David Nind --- Created attachment 142847 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142847&action=edit Bug 31517: Replace raw SQL queries in C4::Tags with Koha object accesses To test: 1) Create a few new tags to any biblio by visiting the biblio's detail page on OPAC 2) The visit http://localhost:8080/cgi-bin/koha/opac-tags.pl and try deleting those tags. Signed-off-by: David Nind -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:02:38 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:02:38 +0000 Subject: [Koha-bugs] [Bug 31517] C4::Tags should use Koha::Tags objects instead of raw SQL In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31517 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #140188|0 |1 is obsolete| | --- Comment #5 from David Nind --- Created attachment 142848 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142848&action=edit Bug 31517: Remove unused get_tag function Signed-off-by: David Nind -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:34:33 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:34:33 +0000 Subject: [Koha-bugs] [Bug 31854] Document conflict with delete_patrons.pl --not_borrowed_since and anonymization In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31854 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:34:38 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:34:38 +0000 Subject: [Koha-bugs] [Bug 31854] Document conflict with delete_patrons.pl --not_borrowed_since and anonymization In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31854 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #142055|0 |1 is obsolete| | --- Comment #3 from David Nind --- Created attachment 142849 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142849&action=edit Bug 31854: Document --not_borrowed_since and anonymization To test: - Run "perldoc misc/cronjobs/delete_patrons.pl" - Note the absence of information about the potential conflict between --not_borrowed_since and anonymization - Apply this patch - Re-run the perldoc command and make sure the note about anonymization make sense Signed-off-by: David Nind -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:35:48 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:35:48 +0000 Subject: [Koha-bugs] [Bug 31854] Document conflict with delete_patrons.pl --not_borrowed_since and anonymization In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31854 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david at davidnind.com Assignee|koha-bugs at lists.koha-commun |magnus at libriotech.no |ity.org | --- Comment #4 from David Nind --- Updated the assignee... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:37:46 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:37:46 +0000 Subject: [Koha-bugs] [Bug 31557] Add ability for holds queue builder to prioritize either matching a patron's home library to the item's home or holding library In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31557 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs at lists.koha-commun |kyle at bywatersolutions.com |ity.org | CC| |david at davidnind.com --- Comment #2 from David Nind --- I updated the assignee... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 02:38:39 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 01:38:39 +0000 Subject: [Koha-bugs] [Bug 31856] Improve performance of serials subscriptions search In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31856 David Nind changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs at lists.koha-commun |glasklas at gmail.com |ity.org | CC| |david at davidnind.com --- Comment #5 from David Nind --- Updated the assignee.. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 03:23:23 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 02:23:23 +0000 Subject: [Koha-bugs] [Bug 28172] Optimize Koha::Plugins::GetPlugins In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28172 --- Comment #5 from Fridolin Somers --- Arf not a trivial rebase. I leave it to Julian ;) -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 06:08:39 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 05:08:39 +0000 Subject: [Koha-bugs] [Bug 30649] Vendor EDI account passwords should be encrypted in the database In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30649 --- Comment #14 from Victor Grousset/tuxayo --- (In reply to Kyle M Hall from comment #9) > (In reply to Victor Grousset/tuxayo from comment #8) > > I don't get how to encrypt a password to an external service and still be > > able to use the external service. Does that mean Koha can in full autonomy > > decrypt it? > > Yes, we store a key in the koha konf file for encryption and decryption. I > need to rebase this patch to use the work from Bug 28998. Ok IIUC the security value doesn't come from encryption but from having the date out of the DB. So a simple SQL injection can't get it. Is there any gain compared to just storing the passwords into koha-conf.xml directly? (hum, maybe Koha can't write to that file and that would need a separate file) Like is it a plausible attack scenario to be able to read the file but not the DB? That when needing both would help. -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 06:49:33 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 05:49:33 +0000 Subject: [Koha-bugs] [Bug 32056] New: Database tmpdir check before upgrade Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32056 Bug ID: 32056 Summary: Database tmpdir check before upgrade Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: koha-bugs at lists.koha-community.org Reporter: mengu at devinim.com.tr QA Contact: testopia at bugs.koha-community.org Hi all, It may an error occur during koha upgrade if tmp directory is not free enough for database. This may lead as if upgrade completes but there may occur lots of problem. Can it be good idea to check free tmpdir area for database need and suggest to increase or change the value before proceeding upgrade? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 08:36:06 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 07:36:06 +0000 Subject: [Koha-bugs] [Bug 32030] Electronic resource management (ERM) In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32030 --- Comment #6 from Jonathan Druart --- (In reply to Jonathan Druart from comment #5) > (In reply to Kyle M Hall from comment #3) > > * If I attach a very large document to a license ( like 70 MB ), not only > > does the file not attach, but I lose all my existing files as well. ( > > http://192.168.1.20:8081/cgi-bin/koha/erm/licenses/1 ) > > Reported on https://tree.taiga.io/project/joubu-koha-erm/us/130 Fixed! -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 10:08:56 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 09:08:56 +0000 Subject: [Koha-bugs] [Bug 31627] Add ability to embed the letter ID in outgoing email notices In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31627 --- Comment #10 from Katrin Fischer --- I wonder if it would be nice to have a way to make this invisible at least in HTML notices. Something like
ID
? This line looks like it would allow to do just that: if ($is_html) { + $content .= "
$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices'); At the moment there is no way libraries could change how this appears in the notices and it might raise questions about the 'number' appearing at the end of the message. -- You are receiving this mail because: You are watching all bug changes. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 10:16:07 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 09:16:07 +0000 Subject: [Koha-bugs] [Bug 32053] Authority not in database In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32053 Katrin Fischer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Katrin Fischer --- Hi, this is more of a support question and as such should be asked on the mailing list or in our chat. I assume that the authoritiy is saved, but you might not be able to search for it as indexing is not working. You could create a report with: select * from auth_header; This way you can confirm if the authorities were stored to the database. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. From bugzilla-daemon at bugs.koha-community.org Tue Nov 1 10:44:46 2022 From: bugzilla-daemon at bugs.koha-community.org (bugzilla-daemon at bugs.koha-community.org) Date: Tue, 01 Nov 2022 09:44:46 +0000 Subject: [Koha-bugs] [Bug 32030] Electronic resource management (ERM) In-Reply-To: References: Message-ID: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32030 --- Comment #7 from Martin Renvoize --- Still working through the code.. so far so good. One query however, in EHoldingsEBSCOPackageAgreements.vue you use a