[OPENIDM-9902] Backport OPENIDM-9217: Do not execute managed property's onRetrieve when returnByDefault is false Created: 29/Dec/17 Updated: 23/Feb/18 Resolved: 09/Feb/18
|Component/s:||Module - Core mapping, synchronization, reconciliation|
|Affects Version/s:||OpenIDM 4.5.0, OpenIDM 5.0.0, OpenIDM 6.0.0|
|Fix Version/s:||OpenIDM 220.127.116.11|
|Reporter:||Mark Offutt||Assignee:||Mark Offutt|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Support Ticket IDs:|
Defining a virtual attribute in a managed object, with an onRetrieve script, and for which returnByDefault is false, the script is always invoked regardless the property is requested or not. This is a performance bottleneck when the script has poor performances, which is wasted since the value is not returned into the response.
[ Note this is entered as a bug, but it could be arguably an RFE ]
|Comment by Jakub Janoska [ 23/Feb/18 ]|
Verified on OpenIDM version "18.104.22.168-RC2" (revision: 608d658) jenkins-OpenIDM - 5.0.x - Release-18 sustaining/5.0.x.
Steps for verification: