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
When i delete the parent ISubscriptionSignup record, i expect the delete to happen successfully and SubscriptionId on all child records to be set to null.
Instead i get the error One of the given data items is referenced by one or more data items that do not allow cascade delete. and after some debugging through the callstacks i end up here
Consider this datatype
When i delete the parent ISubscriptionSignup record, i expect the delete to happen successfully and SubscriptionId on all child records to be set to null.
Instead i get the error
One of the given data items is referenced by one or more data items that do not allow cascade delete.
and after some debugging through the callstacks i end up hereC1-CMS-Foundation/Composite/Data/DataFacadeImpl.cs
Lines 515 to 521 in 5910700
C1-CMS-Foundation/Composite/Data/ForeignPropertyInfo.cs
Lines 108 to 111 in 5910700
Clearly the OptionalReference is being resolved wrong and naively expects that such thing can only happen using string or nullable guids.
The correct way would to look at any nullable type, not only guid.
The text was updated successfully, but these errors were encountered: