From 3010f8b6f45230977c0e27bcf993c0f84d56a625 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 20 Jan 2022 17:47:46 +1100 Subject: [PATCH] BUG-77 removed, if it happens again will look at it - I think it was a one-off DB artefact of moving versions. BUG-60 tightened up description, BUG-80 removed as a duplicate of BUG-56 -- just the newer form, and since States move its different again, just fix BUG-56 :) --- BUGs | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/BUGs b/BUGs index cc8f259..45f0dd2 100644 --- a/BUGs +++ b/BUGs @@ -1,25 +1,3 @@ ### Next: 81 BUG-56: when making a viewing list of AI:mich, (any search?) and going past the page_size, it dies -BUG-60: entries per page (in folders view) ignores pagesize / does not count Dirs?, and this also contributes to BUG-56 I think -BUG-77: when moving folders out from a parent folder (storage/2020 off-camera-to-oct), it did not delete the empty 2020 off-camera-to-oct folder - -- something odd happened here, not sure it is a bug, maybe dodgy data at the time in the DB? -BUG-80: viewed AI:fikkers, and next, next, etc. got this: - ESC[36mpaweb |ESC[0m [2022-01-16 01:19:34,305] ERROR in app: Exception on /viewlist [POST] - ESC[36mpaweb |ESC[0m Traceback (most recent call last): - ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app - ESC[36mpaweb |ESC[0m response = self.full_dispatch_request() - ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request - ESC[36mpaweb |ESC[0m rv = self.handle_user_exception(e) - ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request - ESC[36mpaweb |ESC[0m rv = self.dispatch_request() - ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request - ESC[36mpaweb |ESC[0m return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) - ESC[36mpaweb |ESC[0m File "/usr/local/lib/python3.8/dist-packages/flask_login/utils.py", line 272, in decorated_view - ESC[36mpaweb |ESC[0m return func(*args, **kwargs) - ESC[36mpaweb |ESC[0m File "/code/files.py", line 494, in viewlist - ESC[36mpaweb |ESC[0m entries=GetEntries( OPT ) - ESC[36mpaweb |ESC[0m File "/code/files.py", line 272, in GetEntries - ESC[36mpaweb |ESC[0m for path in OPT.paths: - ESC[36mpaweb |ESC[0m TypeError: 'NoneType' object is not iterable - - IT is caused by next'ing past the end of how_many, so its prob. related to BUG-56 above +BUG-60: entries per page in flat view will get how_many from each top-level dir in PATH (not a big issue, but it is a little misleading)