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 CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Can't reserve when $showInterviewer is FALSE (ie, not an administrator)
Pages: [1]

Author Topic: Can't reserve when $showInterviewer is FALSE (ie, not an administrator)  (Read 404 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Can't reserve when $showInterviewer is FALSE (ie, not an administrator)
November 11, 2014, 06:24:04 pm
An issue on 4.5.0. I can't reproduce this on the Demo as I can't change the permissions of the user.

Steps.
  • (Assumes a survey has been set up)
  • Set user to have permission to Reserve respondents for Campaign, but not administer campaigns
  • Go to Campaigns > Reserve Respondents
  • Do a search that returns a list of reservable contacts
  • Select one and select the action Reserve
  • The system gives an error "Missing Interviewer contact"

I can fix this by visiting CRM/Campaign/BAO/Query.php [line: 208] and preventing $showInterviewer from taking on the value FALSE (ie, always set it to be TRUE).
« Last Edit: November 11, 2014, 06:31:44 pm by ken »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Can't reserve when $showInterviewer is FALSE (ie, not an administrator)

This forum was archived on 2017-11-26.