tracker issue : CF-4149667

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

ORM: has<property>() documentation error

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Mingo Hagen / Mingo Hagen (Mingo Hagen)

Created: 05/06/2016

Components: Documentation

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: ALL / Platforms All

Vote Count: 0

Problem Description:

On https://helpx.adobe.com/coldfusion/developing-applications/coldfusion-orm/working-with-objects/generated-methods-for-relationships-between-cfcs.html

In the paragraph for {{boolean Has<relationship_property_name>()}}, the following text is incorrect:

> If the association collection is empty, it will return true.

Because, when I call has<property>() on a property that has associated records I get true as a result.

Steps to Reproduce:

Run code in attachment

Actual Result:

Is correct, documentation should be altered.

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

Watson Bug ID:	4149667

External Customer Info:
External Company:  
External Customer Name: Mingo Hagen
External Customer Email:  
External Test Config: My Hardware and Environment details:



CF 9 through CF 2016

Attachments:

  1. May 06, 2016 00:00:00: 1_orm-has2.zip

Comments:

Hi Mingo, Here is the updated URL: https://helpx.adobe.com/coldfusion/developing-applications/coldfusion-orm/working-with-objects/generated-methods-for-relationships-between-cfcs.html
Comment by External U.
2914 | May 09, 2016 08:20:02 AM GMT
Thanks!
Comment by External U.
2915 | May 09, 2016 09:29:41 AM GMT