Two associations between the same two objects causing problems.

I have two objects; User and Team I have two (opposite) assiciations between them: User -> User_Team -> Team (i.e the user is a member of a single team, a team can have many users) Team -> Team_TeamLeader -> User (i.e. each team has a single team leader who is also a user) I have a reference selector on the UserNewEdit form to select a Team for the user, and a reference selector on the TeamNewEdit form to select a Team Leader for the team, but neither of the reference selectors returns a value, even though records have been added for User and Team. If I create a separate object for the Team Leader then it works fine.
1 answers


try setting the 'context' property of the selectors to 'reset'. (I'm not entirely sure why you need to do this for opposite associations though...)