Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.4
-
Fix Version/s: 4.7
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
Although a relationship is set limited to particular contact type, A & B both contact can select either of the relationship type.
Example:
A-coach
B- Player
Now A & B both can select both coach & player relationship type when creating a relationship.
I was able to produce this on civicrm demo site too.
NOTE: The form rule validation prevents the relationship from actually being saved and an error status is shown to the user. However, it makes more sense to actually filter the relationship type list in the form and not show relationship types 'directions' that are not valid for the current contact.
./Contact/Form/Relationship.php:569: CRM_Core_Session::setStatus(ts('%count relationship record was not created due to an invalid contact type.', array(
Attachments
Issue Links
- is supplemented by
-
CRM-20839 SUP-1813 Attempting to update relationship to invalid type freezes dialog.
- Open