Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Harry Klein / Harry Klein (Harry Klein)
Created: 03/09/2016
Components: Database
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: RC1_v12 /
Priority/Frequency: Major / Unknown
Locale/System: English / Win All
Vote Count: 2
Problem Description:
SQL comments inside cfquery are not ignored anymore!
Tested with MSSQL 2008
Steps to Reproduce:
MSSQL Query
WHERE
(
(
p3.isvisibleinnavi IS NOT NULL -- is online and...
AND
( p3.isvisibleinnavi <> p2.isvisibleinnavi -- isvisible in navi was changed ...
OR qap.page_offline = 1 -- OR page goes offline
OR p2.pagenavititle <> p3.pagenavititle
OR p2.pagepath <> p3.pagepath
OR p2.pagefile <> p3.pagefile
OR p2.app_ID <> p3.app_ID -- or page path has changed
OR p2.folder_ID <> p3.folder_ID -- or sortorder below same parent folder has changed (same pagepath)
)
)
Actual Result:
Throws an error: ... due to underlying exception: Error Executing Database Query. / [Macromedia][SQLServer JDBC Driver][SQLServer]Falsche Syntax in der Nähe von 'NULL'."
Expected Result:
Query should execute fine
Any Workarounds:
Remove all SQL Comments
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126398
External Customer Info:
External Company: CONTENS
External Customer Name: Harry Klein
External Customer Email: KLEIN@CONTENS.DE
External Test Config:
Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\RC1_v12\4114953\testquery.cfm
Attachments:
Comments: