wolips/wolips — Issue #51: WOL-973 Validation for Owns Destination
Author: pascalrobert
Created: 2012-01-06 03:14:16+00:00
State: open

Reported by David Avendasora

Trigger a validation error for setting Owns Destination on a relationship where the inverse relationship is optional. This should be impossible.

I think the *only* acceptable Delete Rule is "Cascade" when "Owns Destination" is selected. Maybe "Do Nothing" is acceptable too, but I don't think so. I think "Owns Destination" is basically another way of saying "Cascade Delete Related Objects when the inverse relationship (if it exists) is set to null"