Files
photoassistant/BUGs

28 lines
2.6 KiB
Plaintext

### Next: 81
BUG-56: when making a viewing list of AI:mich, (any search?) and going past the page_size, it gets the wrong data from the DB for the 'next' entry
BUG-60: entries per page (in folders view) ignores pagesize, and this also contributes to BUG-56 I think
BUG-74: search/others? remembers start/offset, and if you reset view (e.g. another search) it doesnt show first page of results
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-79: changing size does not post back the OPT change, so doesn't save to prefs (unless you change say how_many after size)
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