tracker issue : CFB-3715508

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

syntax error on transaction {}

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Samuel Knowlton / Aquitaine (Samuel Knowlton)

Created: 02/28/2014

Components: Editor Features

Versions: 3.0

Failure Type:

Found In Build/Fixed In Build: PublicBeta / 288869

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Windows 8.1/64bit

Vote Count: 0

Problem Description:Testing the Thunder Beta, it reports the following as a syntax error:
 
 
if (thing) {
     transaction {
          doStuff;
          EntitySave(item);
     }
}
 
It reports 'return statement in function' for pretty much all our cfscript transaction statements. The function does have a valid return result as well.
 
This is the standalone install. I haven't been able to get the Eclipse plugin install working yet.

Steps to Reproduce: Add a transaction statement to script-style functions in a CFC.

Actual Result: Syntax error reported.

Expected Result: Valid syntax (nothing to do with return values).

Any Workarounds:

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

Watson Bug ID:	3715508

External Customer Info:
External Company:  
External Customer Name: Aquitaine
External Customer Email:  
External Test Config: My Hardware and Environment details: Windows 8 x64.

Attachments:

Comments: