tracker issue : CF-3036987

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

Bug 74096:Here is a fun one

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 12/08/2008

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Mac 10 All

Vote Count: 0

Duplicate ID:	CF-3036886

Problem:

Here is a fun one. I was testing some ORM code I had written on my old laptop. I copied the files over and ran it. I forgot to setup the DSN. You would expect a 'bad datasource name' type error. Instead, I got an error that was completely misleading:

Id field not defined for cfc model.page. Either the table should have a PK column mapped to a cfc field OR at least one field should be specified as id. 

My page CFC certainly did have an ID field. As soon as I fixed the DSN, everything worked perfectly.
Method:


Result:

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

Watson Bug ID:	3036987

External Customer Info:
External Company:  
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 12/08/2008

Attachments:

Comments: