tracker issue : CF-4207239

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

entityLoad doesn't support options on filter plus unique combination

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Mingo H. / ()

Created: 02/19/2020

Components: ORM Support

Versions: 2018

Failure Type:

Found In Build/Fixed In Build: 2018.0.07.316715 /

Priority/Frequency: Normal /

Locale/System: / Windows 10 64 bit

Vote Count: 1

Problem Description:
entityLoad( entityName, filter, unique, options ) throws an error whereas most other combinations work

Steps to Reproduce:
Run enclosed files

Actual Result:
A nonsensical error: "Property true not present in the entity."

Expected Result:
For it to work

Any Workarounds:
Use ormExecuteQuery() instead.

PS: There are two more combinations I found to not work (not even compile):
entityLoad( entityName, id, order, options )
entityLoad( entityName, id, unique, options )