Yesterday I asked a question that I thought expressed the problem I was having, but this morning as I tried to implement a fix, I realized that this CiviCRM site has a more serious problem. There is a fundamental problem with either or both of relationship data and relationship interfaces on a site I manage.
Contact Page symptoms:
- for "broken" contacts (which is most of them), the relationships tab appears empty even if "employer" field is filled in on the individual contact summary page
- if I attempt to add the employer relationship on the relationships tab of either the individual or the org, I get an on-screen error saying the relationship exists.
- if I delete the employer field on the individual contact I can add the relationship on the relationships tab, but it doesn't appear and doesn't work.
I have discovered I can "repair" an organizational contact by creating a new one and merging the old one into it. This seems to read the data and write it properly to the new contact. This has the obvious disadvantages of changing CID and also of being a tedious manual task. This seems to repair the relevant individual contact too, so it seems likely the data problem is in how the relationships are written.
Is there a way to realistically examine the relevant data tables to see if there is a correctable problem? I do not know when the problem started.
There are no visible back end errors in Civi or Apache.