new bugs, use existing with a non-date fails, and move between paths for scen 4 broken

This commit is contained in:
2022-01-09 18:11:33 +11:00
parent dc21d65dd7
commit 76da875709

35
BUGs
View File

@@ -2,3 +2,38 @@
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-75: Tried moving 111 working dir and it failed as dt is invalid/empty? just means buttons for existing are empty
paweb | [2022-01-09 15:42:19,485] ERROR in app: Exception on /getexistingpaths/undefined [POST]
paweb | Traceback (most recent call last):
paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2070, in wsgi_app
paweb | response = self.full_dispatch_request()
paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1515, in full_dispatch_request
paweb | rv = self.handle_user_exception(e)
paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1513, in full_dispatch_request
paweb | rv = self.dispatch_request()
paweb | File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1499, in dispatch_request
paweb | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
paweb | File "/usr/local/lib/python3.8/dist-packages/flask_login/utils.py", line 272, in decorated_view
paweb | return func(*args, **kwargs)
paweb | File "/code/files.py", line 631, in GetExistingPathsAsDiv
paweb | new_dtime=datetime.datetime.strptime(dt, "%Y%m%d") + datetime.timedelta(days=delta)
paweb | File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
paweb | tt, fraction, gmtoff_fraction = _strptime(data_string, format)
paweb | File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
paweb | raise ValueError("time data %r does not match format %r" %
paweb | ValueError: time data 'undefined' does not match format '%Y%m%d'
BUT, although files moved on FS, it is not visible in the DB???
I am in the BIN path!!!!!
pa=# select * from path_dir_link where dir_eid in ( 5, 41818, 41819, 41832, 41921, 43539, 43545 );
path_id | dir_eid
---------+---------
2 | 5
*** 3 | 41818
2 | 41819
2 | 41832
2 | 41921
2 | 43539
2 | 43545
Test move between paths in DEV, should now work