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

Pedro Amorim (ammopt) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA
                 CC|                            |[email protected]
                   |                            |k

--- Comment #10 from Pedro Amorim (ammopt) <[email protected]> ---
Hi all, the debug output is lost when the holds queue runs in parallel
(HoldsQueueParallelLoopsCount > 1): the cron logs just {}.

To reproduce in KTD:
1) Apply the patch, updatedatabase, restart_all
2) Set these system preferences:
'HoldsQueueDebug' = 'Do'
'CronjobLog' = 'Log'
'HoldsQueueParallelLoopsCount' = 1
3) Run the holds queue:
perl misc/cronjobs/holds/build_holds_queue.pl --force
4) Go to the cronjob logs and confirm the latest 'End' entry's info has the
debug JSON (item_map, match_type):
http://localhost:8081/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=CRONJOBS
5) Set 'HoldsQueueParallelLoopsCount' to 2 and repeat steps 3-4
6) Confirm the latest 'End' entry's info is now just {}

Minor non-blockers:
- The debug table in update_holds_queue_for_biblios.inc has <th> elements in
<thead> without a <tr>.
- The HoldsQueueDebug preference text doesn't read great:
"record information about the holds chosen [Do] record debugging
information...".

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to