thuphinguyen / php-dynamics-crm-2011

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

Using an Outer Join with a One-to-Many relationship breaks the "all pages" option #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Query with a One-to-Many outer Join (e.g. Accounts, plus Incident 
Details)
2. Set the count to return less than the full set of data
3. Use retrieveMultiple with the "all pages" option

What is the expected output? What do you see instead?
The retrieveMultiple function goes into an infinite loop, because Microsoft 
Dynamics CRM 2011 does not return a PagingCookie in this situation, but still 
returns the "MoreRecords" flag.

The function should either throw an exception, or handle this by faking the 
PagingCookie...

Original issue reported on code.google.com by N.M.Pr...@gmail.com on 11 Apr 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Fixed & Tested - the PagingCookie is faked when needed

Original comment by N.M.Pr...@gmail.com on 11 Apr 2012 at 4:29