Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-3.0-rc12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2011 at 16:46 UTC
Updated:
25 May 2011 at 17:21 UTC
The renaming of the application is not properly done.
update_sql() does not support substitution as db_query does.
Attached is a patch that build the SQL using PHP substitution rather than %-substitutions.
I am renaming 6301 to 6302 so it's done again properly. This should do the trick ad the app label wasn't really change but the fb_connect variable was, this would just re-set it properly and change fb name and delta
BTW, why was this made?
| Comment | File | Size | Author |
|---|---|---|---|
| fb-app-update-6301-error.patch | 1.75 KB | hanoii |
Comments
Comment #1
hanoiiComment #2
hanoiiComment #3
hanoiiAlso a minor thing but added newline in the end to adhere to Drupal's Coding Standards:
Comment #4
Dave Cohen commentedOops. I thought update_sql() worked that way and because my labels were all lower case, the code was not properly tested. Thanks for the report.
See #1124082: Connect block of apps with labels containing capital letters always shows default values for the reason.
Comment #5
Dave Cohen commentedYour patch is in rc13. Thanks again.