thuphinguyen / php-dynamics-crm-2011

Automatically exported from code.google.com/p/php-dynamics-crm-2011
0 stars 0 forks source link

No support for PartyList Lookup type #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create new dynamic entity for an activity (campaignresponse)
2. Assign value for "customer" attribute
3. Create entity in CRM

What is the expected output? What do you see instead?
Should properly encode customer to the right type and successfully create 
record in CRM
Exception from improper handling of data type for customer attribute

I have created a patch that fixes this issue by properly detecting the 
PartyList type
and encoding the customer GUID in the proper entity structure 

**Note this patch also fixes an issue with proper intval enforcement**

Original issue reported on code.google.com by good.mid...@gmail.com on 30 Dec 2013 at 7:04

Attachments: