Closed (fixed)
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
Shared
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 May 2012 at 10:05 UTC
Updated:
25 Jul 2012 at 21:11 UTC
If I understand correctly it is now only possible to make relations between an organisation and (several) contacts and between contacts themselves. But it is not possible to make relations between organisations. I have a list of organisations that are related to one governing body, so I would like to express that.
Could that be made possible?
(Or am I just missing something somewhere?)
Comments
Comment #1
seanberto commentedWhen you define an relationship entity bundle, you choose which entity types and bundles can be related.
Organization to organization relationships are supported. You just need to create/configure a new relationship bundle to test this out.
Comment #2
seanberto commentedActually, I just realized that what I wrote was wrong. RH doesn't currently support these relationships. I guess that you could "fake it" with an entity reference field on organization entities...
Marking this as a feature request.
Comment #3
levelos commentedThis should now be possible. Give it a spin and let us know.
Comment #4
micnap commentedHi,
I just downloaded the alpha2 version - fresh install or d7 and redhen and dependencies. I created a relationship between All Organization Bundles called Related Organizations. When I go to an org to add the connection, I am getting the following error on the connections/add page:
Notice: Undefined variable: endpoint_entity_type in redhen_relation_connection_form() (line 38 of /home/quickstart/websites/pacb2.dev/sites/all/modules/redhen/modules/redhen_relation/includes/redhen_relation.forms.inc).
And when I choose my Related Organization relation type in the dropdown, I get the autocomplete field for contacts, not Organizations.
Thanks,
Mickey
Comment #5
micnap commentedUh, hang on. I'm getting that error no matter what type of connection I'm trying to add. Even without custom relationship types on the site. I've completely uninstalled RH membership and RH relation modules and reinstalled RH relation, cleared cache, and am still getting the error without custom relationships.
Mickey
Comment #6
levelos commentedJust pushed some more code to polish this up and it's working in my local tests. Please give it a spin Mickey, and thanks again for working through these issues with us. This relation business is a bit tricky.
Comment #7
micnap commentedHi,
Just did a fresh install of alpha2 and am still getting the same as in #4 and #5. Were the changes definitely pushed up?
Thanks,
Mickey
Comment #8
levelos commentedThey're not in alpha 2, the changes have happened since that release. The only way to have the latest code is to do a git checkout and then pull in any updates. At this point in the development cycle, it's the best bet for having the latest code. Snapshots are only released nightly.
Comment #9
micnap commentedWoohoo! Works great now. Off to study what the heck you did to get this working.
Thanks!
Mickey
Comment #10.0
(not verified) commentedadded question about me missing something