Bug 11215 - Unresponsive script warning when booksellers.pl is loading a list of all vendors
Summary: Unresponsive script warning when booksellers.pl is loading a list of all vendors
Status: RESOLVED DUPLICATE of bug 28922
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 09:31 UTC by Marcel de Rooy
Modified: 2023-07-08 22:07 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2013-11-07 09:31:26 UTC
Go to Acquisitions. Do not enter a vendor name, but just click Search.
With a test db containing 400 vendors, I have an unresponsive script warning in Firefox:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
After clicking Continue twice, the script does complete.

Should it take so much time to load a list of 400 vendors? Can we do this in a smarter way? :)

As a comparison: I did the same in a 3.8.3 database with 500 vendors. It does not give the warnings and comes back much faster..
Comment 1 Jonathan Druart 2013-11-07 11:03:51 UTC
I think it is 'normal'.
In 3.8 there is only 1 big table with all suppliers.
Now one table (with datatables) is displayed for each supplier.
Moreover, there are a lot of informations (about baskets) in master which don't exist in 3.8.
Comment 2 Marcel de Rooy 2013-11-07 11:18:57 UTC
(In reply to Jonathan Druart from comment #1)
> I think it is 'normal'.
> In 3.8 there is only 1 big table with all suppliers.
> Now one table (with datatables) is displayed for each supplier.
> Moreover, there are a lot of informations (about baskets) in master which
> don't exist in 3.8.

But should we be satisfied with current behavior? Or should we check at first if there is not too much data for building such a list?
Comment 3 Jonathan Druart 2013-11-07 12:47:09 UTC
Yes, maybe should we raise a message containing something like "Your search returns a large amount of results and cannot be displayed".
Comment 4 Jonathan Druart 2015-04-22 10:34:44 UTC
Maybe this could be fixed by bug 13371.
Comment 5 Katrin Fischer 2023-07-08 22:07:54 UTC

*** This bug has been marked as a duplicate of bug 28922 ***