Closed (won't fix)
Project:
Oracle Driver
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2011 at 14:18 UTC
Updated:
22 Jun 2012 at 22:55 UTC
I'm getting this:
PDOException: SELECT base.uid AS uid, base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base.access AS access, base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data FROM {users} base WHERE (base.uid IN (:db_condition_placeholder_0)) (prepared: SELECT base."UID" AS "UID", base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base."ACCESS" AS "ACCESS", base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data FROM "USERS" base WHERE (base."UID" IN (:db_condition_placeholder_0)) ) e: SQLSTATE[HY000]: General error: 1722 OCIStmtExecute: ORA-01722: invalid number (/root/PDO_OCI-1.0/oci_statement.c:142) args: Array ( [:db_condition_placeholder_0] => reset ) in DrupalDefaultEntityController->load() (line 196 of /web/includes/entity.inc).
Looks like Drupal trying to insert varchar type placeholder value instead of number...
Comments
Comment #1
amfis commentedSome backtrace for error:
Comment #2
amfis commentedComment #3
amfis commentedComment #4
Renee S commentedI think this belongs here instead - it might be related to #1633004: DatabaseSchema_oracle::createFieldSql() not compliant with Schema API documentation.; I'm seeing something similar, and I'll try the patches and see if it goes away...
Leaving this as closed, but hopefully better filed :)