tracker issue : CF-3038219

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

Bug 76618:Bug specifying an Array-of-CFC datatype for a cfproperty in cfscript

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Devin Holloway / Devin Holloway (Devin Holloway)

Created: 04/16/2009

Components: Language, CFSCRIPT

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 229763

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Bug specifying an Array-of-CFC datatype for a cfproperty in cfscript.

A syntax error occurs when specifying an array of cfc's as the datatype of a cfscript property:

property SomeCFC[] name;
Method:

/**
* @fieldtype one-to-many
* @cfc Schedule
* @fkcolumn user_id
*/
property Schedule[] schedules;

Result:

The error occurred in C:\inetpub\wwwroot\MRIWorkout\model\User.cfc: line 29

27 : * @fkcolumn user_id
28 : */
29 : property Schedule[] schedules;
30 : }


And the bolt console error:

Description Resource Path Location Type
Invalid Token [ at line 29, column 22 User.cfc MRIWorkout/model line 29 Problem
Invalid Token ] at line 29, column 23 User.cfc MRIWorkout/model line 29 Problem
Invalid Token schedules at line 29, column 25 User.cfc MRIWorkout/model line 29 Problem
Required attribute ’name’ missing User.cfc MRIWorkout/model line 29 Problem

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

Watson Bug ID:	3038219

External Customer Info:
External Company:  
External Customer Name: Devin Holloway
External Customer Email: 5E060FD6422E831A992015D5
External Test Config: 04/16/2009

Attachments:

Comments: