You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a sort query referring a property which is not retrieved in the target objects, ie the property does exist in the database but is discarded for the client or not selected with $select.
Expected behavior
Reactivity should work fine.
Actual behavior
An error is raised and breaks reactivity: TypeError: Cannot read properties of undefined (reading 'name') at eval (feathers-reactive.js:1555:1).
Steps to reproduce
Use a sort query referring a property which is not retrieved in the target objects, ie the property does exist in the database but is discarded for the client or not selected with
$select
.Expected behavior
Reactivity should work fine.
Actual behavior
An error is raised and breaks reactivity:
TypeError: Cannot read properties of undefined (reading 'name') at eval (feathers-reactive.js:1555:1)
.It appears that the sorter does not check if the property is available on the target object when accessing it.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working): 0.10
NodeJS version: 16
Operating System: Debian
The text was updated successfully, but these errors were encountered: