Summary | MDB2 Error adding bookmark |
Queue | Trean |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | chuck (at) horde (dot) org |
Requester | vfigueiro (at) gocial (dot) pt |
Created | 01/08/2007 (6769 days ago) |
Due | |
Updated | 01/15/2007 (6762 days ago) |
Assigned | 01/08/2007 (6769 days ago) |
Resolved | 01/15/2007 (6762 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
http://lists.horde.org/archives/cvs/Week-of-Mon-20070108/064513.html
http://lists.horde.org/archives/cvs/Week-of-Mon-20070108/064513.html
We check for errors, so not sure why/how this would be failing.
prints "27integer".
Meanline, I got it working changing line 1044 to:
«VALUES (?::integer, ?::integer, ?, ?, ?, ?::integer, ?::integer,
?::integer, ?)');» and doing similar change to the update.
State ⇒ Feedback
We check for errors, so not sure why/how this would be failing.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ MDB2 Error adding bookmark
Queue ⇒ Trean
State ⇒ Unconfirmed
Whenever I try to add a new bookmark, I get the following message:
"There was an error adding the bookmark: MDB2 Error: unknown error"
In pgsql's log:
LOG: statement: SET SESSION DATESTYLE = 'ISO'
LOG: statement: SELECT NEXTVAL('trean_bookmarks_seq')
LOG: statement: PREPARE
mdb2_statement_pgsql_19e382a54dc81783ea1aefc6f57ed6d6 (text, text,
text, text, text, text, text, text,
text) AS
INSERT INTO trean_bookmarks
(bookmark_id, folder_id, bookmark_url,
bookmark_title, bookmark_description,
bookmark_clicks, bookmark_rating, favicon_id,
bookmark_http_status)
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)
ERROR: column "bookmark_id" is of type integer but expression is of type text
HINT: You will need to rewrite or cast the expression.