Closed (fixed)
Project:
OpenScholar
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 18:59 UTC
Updated:
13 Feb 2013 at 16:20 UTC
Openscholar should escape double quotes in titles (Publications). If not, an incorrect assignment of publication nodes is done to wrong authors and a mysql error is presented when the nodes are opened:
"user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) ORDER BY timestamp DESC' at line 1 query: SELECT timestamp FROM views_content_cache WHERE (()) ORDER BY timestamp DESC in /home/public_html/sites/all/modules/contrib/views_content_cache/views_content_cache.module on line 164."
we are testing the latest available beta
Comments
Comment #1
rbrandon commentedI can not reproduce this creating publications with single and double quotes. I also do not see any un-escaped values in the sql you pasted above.
Could you please post steps to reproduce and/or verify that this exists in Beta13.
Thanks,
Richard
Comment #2
taih commentedthank you very much for your reply. I have checked our version and it's not 13 but 12, indeed. let us update and re-check.
Comment #3
taih commentedwe are experiencing a lot of errors after updating (12->13). sorry, but it seems I will not be able to give you more information immediately.
anyway, thank you very much for your attention. I will keep you updated
Comment #4
taih commentedRichard, it seems you can close this issue, or at least make it only for the beta 12. beta 13 is having no problem at all dealing with single or double quotes.
thanks for your great job here
Comment #5
simon georges commentedAs stated by the user, it works now.
Comment #6.0
(not verified) commentedminor changes in the explanation