tracker issue : CF-3041515

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

Bug 83047:(Watson Migration Closure)When using EntityLoad() passing-in an invalid option, there is no error

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Patrick Heppler / Patrick Heppler (pheppler)

Created: 05/25/2010

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

When using  EntityLoad() passing-in an invalid option, there is no error.For example:<cfscript> gb=EntityLoad("guestbook",{active=1},"date Desc,time Desc",{offset=0,maxresults=10,thisoptiondoesntexist=true}); </cfscript>This returns the 10 latest guestbook entries, but it should throw an error because i passed-in "thisoptiondoesntexist=true".In my first try i had a typo in maxresults and wondered why it returns all entries instead of throwing an error.
Method:

Run EntityLoad() with any none existing option.
Result:

None, that's the bug!

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

Watson Bug ID:	3041515

External Customer Info:
External Company:  
External Customer Name: Patrick Heppler
External Customer Email: 54121C6C468A246799201587
External Test Config: 05/25/2010

Attachments:

Comments: