Large block lists causes browser to close. Exit. Gone. Nada.

Bug #1845668 reported by Blake GH
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Tested on 3.1 and 3.3. Block list size: 36MB and ~2 million entries.

Reproduce:
1. Create a large block list file on the server.
2. Login to the staff client and browse to the offline interface.
3. Download the block list.
4. Wait 5 minutes for the download to finish.
5. Logout.
6. Navigate back to the offline interface.
7. Wait 10 seconds.
8. The browser closes itself.

This is related to bug 1727557 but different enough, I felt it needed it's own bug. Instead of the browser becoming unresponsive during the download, it closes after a perfectly complete download.

For now this hack to the cronjob fixes it:

. ~/.bashrc && $EG_BIN_DIR/offline-blocked-list.pl $SRF_CORE > $OPENILS/var/web/standalone/list.txt && head -n 100000 > $OPENILS/var/web/standalone/list2.txt && mv $OPENILS/var/web/standalone/list2.txt $OPENILS/var/web/standalone/list.txt

Of course, it's not a complete block list and basically destroys the premise of a block list.

If the browser storage cannot handle such a dataset then what alternatives do we have? Hatch?

Blake GH (bmagic)
tags: added: circulation offline
summary: - Large Block lists causes browser to close. Exit. Gone. Nadda
+ Large Block lists causes browser to close. Exit. Gone. Nada.
summary: - Large Block lists causes browser to close. Exit. Gone. Nada.
+ Large block lists causes browser to close. Exit. Gone. Nada.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.