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
{{ message }}
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
While try to reproduce for #34/#38, I happened to try changing End2 Role from Principal to Dependent..
and VS started to think for a long while until the popup on the screenshot appeared.
The text was updated successfully, but these errors were encountered:
If I try changing to NotSet, or NotApplicable there is no issue. Feedback is immediate with no change in model. Only when trying to change to from Principal to Dependent [I would think having the two sides defined as dependent does dot make much sense] is the OOM error happening.
I can send you the the full efmodel file if needed.
Found it. You're right that it doesn't make sense to set both ends as dependent ... but the designer changes the other end when you set one end. Unfortunately, it then runs a verification to ensure that the cardinalities and roles are appropriate for each other, and sets the roles back when they're not. More unfortunately, that can trigger a bad recursion that blows the stack, causing an OOM error.
Manually changing roles is only appropriate in 1-1 and 0..1-0..1 cardinalities; otherwise, it's pretty well defined what those should be. So I've now hidden the ability to change roles except in those two circumstances. That change is now published in v1.2.6.20.
While try to reproduce for #34/#38, I happened to try changing End2 Role from Principal to Dependent..
and VS started to think for a long while until the popup on the screenshot appeared.
The text was updated successfully, but these errors were encountered: