CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom individuals & groups not saved in custom relationships
Pages: [1]

Author Topic: Custom individuals & groups not saved in custom relationships  (Read 415 times)

norris

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla
  • MySQL version: 5.5.41-37.0-log
  • PHP version: 5.4.24
Custom individuals & groups not saved in custom relationships
March 10, 2015, 04:22:22 pm
Using CiviCRM 4.5.8 under Joomla!, on my system and on the demo CiviCRM install, when I create a Custom Relationship and try to set Subtypes, they don't save, and the search filter doesn't work as expected when creating a new Relationship of that type.

For example, on the demo site, I created a Fills role for   / Role filled by Relationship.  If I try to set Contact Type A to Student, and Contact Type B to Team, it saves A as "All Contacts" and B as "Organization."  On my system, I can use phpmyadmin to edit the civicrm_relationship_type -> contact_sub_type_a and b to make it work as desired, but if I edit the Relationship through CiviCRM interface, it loses the sub_types again.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Custom individuals & groups not saved in custom relationships
March 11, 2015, 01:57:58 am
Are you sure you created the contact subtypes first? Perhaps a silly question but you never know  :P
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

norris

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla
  • MySQL version: 5.5.41-37.0-log
  • PHP version: 5.4.24
Re: Custom individuals & groups not saved in custom relationships
March 11, 2015, 02:08:04 pm
I'm not sure I understand your question...the contact subtypes definitely exist, as they are available for selection in Contact Type A and B fields.  They just aren't saved when I select them.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Custom individuals & groups not saved in custom relationships
March 12, 2015, 12:58:04 am
I have tried on the Joomla demo site, and this certainly looks like a bug. Can you please enter an issue on the issue tracker (and check if this already has been reported first ;_)): http://issues.civicrm.org/
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

norris

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla
  • MySQL version: 5.5.41-37.0-log
  • PHP version: 5.4.24
Re: Custom individuals & groups not saved in custom relationships
March 12, 2015, 01:23:50 am
Done, thanks!

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Custom individuals & groups not saved in custom relationships
March 12, 2015, 02:38:09 pm
Issue fixed :)
https://issues.civicrm.org/jira/browse/CRM-16096
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom individuals & groups not saved in custom relationships

This forum was archived on 2017-11-26.