https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36129
--- Comment #4 from Emmi Takkinen <[email protected]> --- (In reply to David Nind from comment #3) > I experienced some odd behavour with this as well when testing, and have > changed to Failed QA: > > 1. Apply the patch > > 2. Clear browser cache > > 3. With batch item modification: > . Select 'Hide all columns' - works as expected > . Hard refresh the page (Shift + Refresh button) - no change > . Select 'Show all columns' - works as expected > . Repeat a couple of times > . On one of the hard refreshes, it takes a while to load the page (and > browser tab icon is spinning) > . Don't do anything for a while (say one or two minutes) > . Get this console error message: > Unchecked runtime.lastError: A listener indicated an asynchronous > response by returning true, but the message channel closed before a response > was received batchMod.pl:1 > . Hard refresh the page again > . Takes a while to load, tab icon is spinning, 'Show all columns' + Others > are selected (except for 'Hide all columns', then after a wait changes to > 'Hide all columns' > > 4. Use the breadcrumbs/menu options to navigate to the staff interface home > page, then go to Cataloging > Batch item deletion: > . Note the spinning tab icon, and pages load slowly > . Paste in some barcodes and submit > . Note that the page load reasonably quickly, however the tab icon is > spinning > . Leave it for a bit (say one or two minutes), changes from what is > expected (All columns selected, with only 'Hide all columns' not selected) > to just 'Hide all columns' > . Hard refresh, same as previous step > > 5. Clear the browser cache and then go to the batch item deletion tool > . Select 'Hide all columns' > . This message appears in the web developer tools console: > Uncaught ReferenceError: allColumns is not defined > batchMod_23.1200012.js:116 > at hideAllColumns (batchMod_23.1200012.js:116:24) > at HTMLInputElement.<anonymous> (batchMod_23.1200012.js:159:13) > at HTMLInputElement.dispatch (jquery-3.6.0.min_23.1200012.js:2:43064) > at v.handle (jquery-3.6.0.min_23.1200012.js:2:41048) > . Don't do anything for a bit, then this console messages appears: > Unchecked runtime.lastError: A listener indicated an asynchronous > response by returning true, but the message channel closed before a response > was received batchMod.pl:1 > . Hard refresh - All columns are now selected, with only 'Hide all > columns' not selected > . Wait a bit - changes to 'Hide all columns' and the "Uncaught > ReferenceError: allColumns" error from above is shown in the console again. > > Items I used to test: > 39999000006094 > 39999000006117 > 39999000011418 > 39999000005134 > > Have added bug 32477 as a reference, while not the same it was fixing > similar issues. I've been trying to reproduce this scenario with no luck. Could it be that this happens with specific browser? I'm using Firefox (version 125.0.3). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
