Fix BUG-126 (basically disable next/prev buttons the moment we go back to the server for the previous/next page of images, only re-enable if they make sense after we have loaded the new images

This commit is contained in:
2024-06-29 13:53:50 +10:00
parent 030eb785f3
commit 974d96d6eb

12
BUGs
View File

@@ -19,16 +19,6 @@ BUG-125: when an image is highlighted, then post the contextmenu on a different
There is a chance we need to change the document on click to a mouse down (or whatever the context menu
uses for default), rather than just fix the highlight
BUG-126: view of image not in list:
ERROR: viewing an id, but its not in eids OPT=<States(path_type='Import', orig_search_term='', url='/files_ip', view_eid=56413, current=0, first_eid=67650, last_eid=55520, num_entries=3726, orig_ptype='Import', orig_url='/files_ip', grouping='None', how_many=50, offset=350, size=128, cwd='static/Import', root='static/Import', noo='Newest', folders=False, order='order_by(File.year.desc(),File.month.desc(),File.day.desc(),Entry.name.desc())', last_order='order_by(File.year,File.month,File.day,Entry.name)', last_order_raw='f.year, f.month, f.day, e.name')>, id=56413, eids=56408,56434,56417,56437,56473,56438,56467,56379,56363,56454,56440,56412,56481,56455,56369,56525,56393,55412,56381,56364,56501,56533,56476,56453,56406,56411,56384,56378,56505,56486,56396,56460,56441,56502,56439,56449,56529,56508,56403,56432,56488,56466,56392,56367,56398,50211,56496,56404,56446,56426
(I did a lot of next/prev while moving images, etc. so feasible I race conditioned this somehow)
DONE: ensure logs contain every time we change eids, and see if we can see the sequence leading up to this
saw this:
WARNING: next image requested, but would go past end of list? - ignore this
DDP - offset=0 + how_many=500 > num_entries=0
ERROR: pref not found - dn=uid=mandy,ou=users,dc=depaoli,dc=id,dc=au, st=AI:nancy, s=????
BUG-127: search (via ai search definitely) and then cant sort by oldest/newest, etc.
- also applies to how_many, and then from search I can't go next page without errors
BUG-128: when restarting padb underneath pa, next web requests cause a 500... (need to better catch sql I think, and maybe just retry?)