tracker issue : CF-3037961

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

Bug 76092:One-to-* singularName for implicit methods

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 03/19/2009

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 227817

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

One-to-* singularName for implicit methods.

Current, the singularName attribute allows you to control the add*() and remove*() implicit method names. This should also apply to the has*() and has*(obj) methods.
Method:

for example, the following code:

<cfproperty name="arts" fieldtype="one-to-many" cfc="CArt" fkcolumn="ArtID" singularName="Art">

currently produces hasArts() and hasArts(obj), but it should produce hasArt() and hasArt(obj)
Result:

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

Watson Bug ID:	3037961

External Customer Info:
External Company:  
External Customer Name: Devin Holloway
External Customer Email: 5E060FD6422E831A992015D5
External Test Config: 03/19/2009

Attachments:

Comments: