Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.1.1, 2.1.2
-
Fix Version/s: None
-
Labels:None
-
Documentation Required?:None
-
Verified?:No
Description
If you try and set up a volunteer project from the Volunteer tab in the event configuration you cannot save the changes with no error given in the UI or in the JS Console. One of our developers has traced the error to https://github.com/civicrm/org.civicrm.volunteer/blob/master/api/v3/VolunteerProject.php#L52
The code is trying to create the location block but not passing any values and in CRM we are expecting at least one value mentioned list. See https://github.com/civicrm/civicrm-core/blob/4.6/api/v3/LocBlock.php#L48
*Error Message we get in Post request is : *
{"is_error":1,"error_message":"Mandatory key(s) missing from params array: one of (address, address_id, phone, phone_id, im, im_id, email, email_id)"}Attachments
Issue Links
- duplicates
-
VOL-247 Creating a project with no location gives a fatal error
- Done/Fixed