cuongpd / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Requesting data with a Filter containing causing no results found: AND/OR incorrectly delimited #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Perform a requestReportData() request with a Filter containing AND (,) or OR 
(;)
2. No results returned

What is the expected output? What do you see instead?
Results!

What version of the product are you using? On what operating system?
gapi.class.php,v 1.4 on Linux

Please provide any additional information below.
In class gapi->processFilter() Line 221 Comma and Semicolon are delimited with 
the note "Escape Google Analytics reserved characters".  This is incorrect as 
the Google Data API v2 interpret these verbatim, delimiting them discards the 
filter.

If you are having this issue, comment out line 221 with the str_replace on ';' 
and ',' and you're good to go.

Original issue reported on code.google.com by dale.lis...@gmail.com on 15 Nov 2010 at 11:39

GoogleCodeExporter commented 9 years ago
Got the same problem. Commenting line 221 helps, thanks!

Original comment by Mur...@gmail.com on 1 Feb 2012 at 8:24