tracker issue : CF-3043668

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86761:-(Watson Migration Closure)When writing the following code the attached error is produced, this makes param binding with numeric values impossible

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)

Created: 03/29/2011

Components: ORM Support

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

When writing the following code the attached error is produced, this makes param binding with numeric values impossible.
Method:

public any function getCategoriesById(required any event) {var criteria = {parent = event.getValue('catId')};savecontent variable="local.hqlQuery" {writeOutput("FROM category as category where category.parent =:parent order by category.left");}return ORMExecuteQuery(query=local.hqlQuery, params=criteria);}
Result:

Application Execution ExceptionError Type: Expression : [N/A]Error Messages: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043668

External Customer Info:
External Company:  
External Customer Name: Andrew Scott
External Customer Email: 3DEA395D4926D3D0992015B9
External Test Config: 03/29/2011

Attachments:

Comments: