Skip to content

Commit

Permalink
Merge pull request #673 from fbarthez/ERXD2WEditRelationshipFix
Browse files Browse the repository at this point in the history
Prevent exception during ERXD2WEditRelationship.handleTakeValueForUnboundKey. This would occur whenever an embedded relationship is edited, closed and edited again.
  • Loading branch information
hprange committed Sep 7, 2015
2 parents 7ead0b6 + b7d6924 commit 0e44219
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public ERXD2WEditRelationship(WOContext context) {
public NSArray<Object> masterObjectAndRelationshipKey() {
return new NSArray<Object>(masterObject(), relationshipKey());
}

public void setMasterObjectAndRelationshipKey(NSArray<Object> a) {}

public EOEnterpriseObject masterObject() {
EOEnterpriseObject obj = (EOEnterpriseObject) valueForBinding("masterObject");
Expand Down

0 comments on commit 0e44219

Please sign in to comment.