-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: UI
-
Tags:
-
Team:UI
-
Sprint:nxApps 2021 Cycle 1
Although it should not happen, in some cases, urlFor is called with an empty object as a parameter. This seems to happen when using on listing results, owing to how the items are initialized by nuxeo-page-provider-display-behavior, which results in the following error:
Error: cannot resolve route: object does not have an "entity-type"
We should make nuxeo-routing-behavior robust to this exception.
How to reproduce:
1. Go to default search
2. Search for anything
3. (if the error didn't occur yet) Click on any of the quick filters (e.g. "No Containers")