Virtual properties calculation throws 500 error if "returnByDefault" is false on referenced relationship, and source object is updated via PATCH on a different property (e.g. 'description'):
To reproduce, define a virtual property on managed/user, e.g.:
The referenced relationship should look like this:
Next, trigger a change of the managed user by updating an arbitrary, non-related attribute, e.g. description.
Result: Internal Server Error.
Now change 'returnByDefault' to 'true' on the memberOf property and repeat the update.