Summary | view.php fails with postgresql backend |
Queue | Ansel |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | horde (at) albasoft (dot) com |
Created | 03/18/2010 (5605 days ago) |
Due | |
Updated | 03/18/2010 (5605 days ago) |
Assigned | |
Resolved | 03/18/2010 (5605 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
It Should be:
image_location LIKE '
instead of
image_location LIKE "'
Assigned to Michael Rubinsky
State ⇒ Resolved
Priority ⇒ 1. Low
Correctly quote the search term.
Bug: 8919Submitted by: horde (at) albasoft (dot) com
http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?rt=horde&r1=1.517.2.73&r2=1.517.2.74&ty=u
Properly quote the search term.
Bug: 8919http://git.horde.org/diff.php/ansel/lib/Storage.php?rt=horde-git&r1=240ff73e2a3bcfe5e5649e5d9153d87b25471d36&r2=40df1aeabe36f7c5539f0571c96574a067c408d3
New Attachment: ansel-h3-1.1.patch
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ view.php fails with postgresql backend
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
an empty page and this error on log:
Mar 18 13:34:41 HORDE [error] [ansel] MDB2 Error: no such field:
_doQuery: [Error message: Could not execute statement]
[Last executed query: SELECT DISTINCT image_location, image_latitude,
image_longitude FROM ansel_images WHERE image_location LIKE "%"]
[Native message: ERROR: column "%" does not exist]
I think attached patch solves the problem.