-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Candidate search: Cannot read properties of undefined #163
Comments
I found the following snippet in const candidateCollection = await this.selectedTable.Get(this.parameters);
this.candidatesTotalCount = candidateCollection?.TotalCount;
this.isHierarchical = candidateCollection.Hierarchy != null; It could explain the error message in our custom portal, where the error indicates reading |
I can confirm this (bad) behavior with cancelling search requests by resuming input in search-input-field (9.2.0 with codebase from commit #146 ). |
Great catch - creating a bug for tracking |
Created an internal ticket: 462445 |
There is an issue with the search function of the CDR editor, where sometimes an error gets displayed in the top bar, for example:
We found the error in a custom portal where we use the CDR editor, but it can also be reproduced in the IT-Shop.
There is a timing component to the issue, so it doesn't happen all the time. To reproduce it, start typing in a field (in the screen shot below: "h"), then make a short pause such that the browser sends a search request to the backend, then immediately resume typing before the response arrives (in the screenshot below: "ans"). This cancels the first request and triggers a new one, and the error appears.
Other information
The text was updated successfully, but these errors were encountered: