We are using Webform and the Related Permissions extension to allow parents to register their children for summer camp events. An Existing Contact select widget is included so that parents can select children they have previously registered (which established a permissioned relationship between them).
With "Enforce Permissions" selected on the webform component, the drop down list does not work - no contacts are included in the list, even though the user is logged and has related and permissioned contacts.
When "Enforce Permissions" is de-selected, the drop down list shows the first 500 contacts as expected.
The logs show the following error:
The CiviCRM "contact get" API returned the error: "DB Error: unknown error" when called by function "_webform_render_civicrm_contact" on line 387 of contact_component.inc with parameters: "Array ( [is_deleted] => 0 [contact_type] => Individual [check_permissions] => 1 [rowCount] => 500 [sort] => sort_name [version] => 3 ) "
Drupal 7.50
Civi 4.7.11
Webform 7.x-4.14
Related Permissions Extension 1.2 (with latest codebase installed a couple of weeks ago)
Any ideas if this is an issue with our site or a bug?
(Also reported on Stack Exchange: http://civicrm.stackexchange.com/questions/14950/related-permissions-ext...)
Comments
Comment #2
philiphart CreditAttribution: philiphart as a volunteer commentedSorry.. this could be the same as another issue posted for this project:
https://www.drupal.org/node/2794245
Comment #3
philiphart CreditAttribution: philiphart as a volunteer commentedComment #4
philiphart CreditAttribution: philiphart as a volunteer commentedComment #5
philiphart CreditAttribution: philiphart as a volunteer commentedComment #6
Agileware CreditAttribution: Agileware commentedThis issue is actually in the relatedpermissions extension, see https://github.com/eileenmcnaughton/nz.co.fuzion.relatedpermissions/issu... and fix at https://github.com/eileenmcnaughton/nz.co.fuzion.relatedpermissions/pull/12