Trellon / crmcoredemo

CRM Core Demo showcases the possibilities of developing a CRM based on Drupal, using the crm_core module.
GNU General Public License v2.0
10 stars 3 forks source link

Donation error #26

Closed xcf33 closed 11 years ago

xcf33 commented 11 years ago

When making a donation, get the following error:

Notice: Undefined index: crm_core_activity in crm_core_donation_form_submit() (line 880 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/profiles/crm_core_np/modules/crm_core_features/crm_core_donation/crm_core_donation.module). Notice: Trying to get property of non-object in crm_core_donation_form_submit() (line 880 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/profiles/crm_core_np/modules/crm_core_features/crm_core_donation/crm_core_donation.module). Notice: Undefined index: crm_core_activity in crm_core_donation_form_submit() (line 887 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/profiles/crm_core_np/modules/crm_core_features/crm_core_donation/crm_core_donation.module). Notice: Trying to get property of non-object in crm_core_donation_form_submit() (line 887 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/profiles/crm_core_np/modules/crm_core_features/crm_core_donation/crm_core_donation.module). Warning: Attempt to assign property of non-object in EntityAPIController->save() (line 447 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/profiles/crm_core_np/modules/contrib/entity/includes/entity.controller.inc). EntityMalformedException: Missing bundle property on entity of type crm_core_activity. in entity_extract_ids() (line 7562 of /Applications/XAMPP/xamppfiles/htdocs/crmcoredemo-github/includes/common.inc).

xcf33 commented 11 years ago

See commit https://github.com/Trellon/crmcoredemo/commit/6cf87668180ba04f365cf08e8f95de7cefb60a55

This is related to a fix of CRM Core Profile, please see http://drupalcode.org/project/crm_core_profile.git/commitdiff/7a86397?hp=f948f2f0bae9efa86ba489cdc47f16592b26c556

Please update the submodule in this repo when pulling