Skip to content

1.2 preview test failing on MS SQL 2012:  #123

@tapirus

Description

@tapirus

Hope it helps and the little bit of german is not to confusing. ;-)

Railo 3.3.3.001 Error (database)
Message Der Wert NULL kann in die galleryid-Spalte, wheelstestdb.dbo.photos-Tabelle nicht eingefügt werden. Die Spalte lässt NULL-Werte nicht zu. Fehler bei INSERT.
SQL INSERT INTO photos (
description
,
galleryid
,
filename
)
VALUES (
'test photo 1 for gallery '
,
[CF_SQL_INTEGER]
,
'Gallery Photo Test 1'
)

DatabaseName Microsoft SQL Server
DatabaseVersion 11.00.2100
DriverName Microsoft JDBC Driver 4.0 for SQL Server
DriverVersion 4.0.2206.100
Datasource wheelstestdb
Stacktrace The Error Occurred in
D:\websites\mysite.com\wheels\model\adapters\Base.cfc: line 244

242:
243:
244: <cfif IsStruct(loc.i)><cfif StructKeyExists(loc.queryParamAttributes, "useNull")>NULL<cfelseif StructKeyExists(loc.queryParamAttributes, "list")>()(#PreserveSingleQuotes(loc.i.value)#)#$quoteValue(str=loc.i.value, sqlType=loc.i.type)#<cfset loc.i = Replace(PreserveSingleQuotes(loc.i), "[[comma]]", ",", "all")>#PreserveSingleQuotes(loc.i)##chr(13)##chr(10)#LIMIT #arguments.limit##chr(13)##chr(10)#OFFSET #arguments.offset#
245:
246:

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions