Closed teosarca closed 4 years ago
closing because this issue was fixed by https://github.com/metasfresh/metasfresh-webui-frontend/issues/2224. remaining part to finish will be solved by https://github.com/metasfresh/metasfresh-webui-frontend/issues/2456
Is this a bug or feature request?
FR follow-up of https://github.com/metasfresh/metasfresh-webui-api/issues/810
What is the current behavior?
Which are the steps to reproduce?
Take following steps to setup your test case. (if does not work for you, pls ping me)
Pick
...Ok... so when processing or processing that line, backend will send invalidation events (via websocket) to invalidate the row on the left side.
After processing, the row is no longer present. So, when frontend will call
.../byIds?ids=<ID>
it will get 404.After reactivating the line you just processed, the row on left shall reappear. Backend sends an websocket event again, about that row.
What is the expected or desired behavior?
On a websocket event which is about some row(s), frontend shall handle following cases (additionally):
.../byIds?ids=<ID>
if backend returns 404 or one of the records is missing from returned list, it shall remove that row from view