When visiting admin/reports/analytics, it appears that the "Statuses Shared" graph is producing a SQL error. See the attached screenshot for the error and a dsm() of the $quant object passed to quant_execute_query() which is producing the error. I expanded the $quant->query property, and you will see that the $quant->table object is empty. This issue is reported against the RC1 release of Commons.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | quant-fixing-fbss-integration-1269460.patch | 458 bytes | icecreamyou |
| quant-sql-error.jpg | 175.4 KB | cpliakas |
Comments
Comment #1
icecreamyou commentedI think Quant is supposed to use the ID as the table name if no table name exists?
Anyway, the obvious solution should be to change quants.inc line 191 to
$quant->table = 'facebook_status';Patch attached.
Comment #2
mstef commentedHow in the world did I make that mistake..?
Fixed - thanks.
Comment #3
ezra-g commentedI'm setting this back to RTBC so that we can [edit] commit it when we move to packaging with Drush make.
@Mike, I don't see this at https://github.com/acquia/commons/commits/master, but that's OK as we'll be moving to Drush make relatively soon.
Comment #4
mstef commentedI thought this was the Quant queue. My mistake. It's been committed to the project, so you can just pull the latest.
Comment #5
ezra-g commentedMarking as fixed per #4.
Comment #7
jlea9378 commentedI just upgraded my site to Commons 2.6 from Commons 2.5 and this patch wasn't applied to the Quant module. I implemented the change in the patch and the error I was seeing on the Site Analytics page went away. Will this fix be included in Commons 2.7??
Comment #8
icecreamyou commentedThe patch is correctly committed to Quant, but it looks like drupal-commons.make specifically references the commit of Quant immediately before the patch was applied.
Comment #9
ezra-g commentedThanks, IceCreamYou. Tagging for 2.7.
Comment #10
ezra-g commentedI've updated the Commons make file to pull from the Quant 6.x-1.x dev branch.
http://drupalcode.org/project/commons.git/commit/03d2e1e
Comment #11.0
(not verified) commentedFixed grammar.