Are you using the delayed assignment? Sent from my iPad
On 2013-03-29, at 12:40 PM, Freddie Tilley <[email protected]> wrote: > Hi, > > I'm having a strange issue with a D2w rule. > > the left hand side is as follows: > > (task = 'edit' and entity.name = 'AMEvent' and object.eventType = '1') with a > right hand side key of displayPropertyKeys > > The thing is is that the object.eventType will get called on objects that > aren't even AMEvent objects, which will then call the > handleQueryWithUnboundKey of the enterprise object. Even when deleting an > object in a list view it throws a java.lang.NullPointerException in > EOUtilities.java when handleQueryWithUnboundKey is called on the deleted > object. > > When debugging the d2w rule it shows the object.eventType as a dependancy > even on totally unrelated pages. > > DEBUG er.directtoweb.rules.displayPropertyKeys.cache (ListAMGroup) - CACHE: > displayPropertyKeys for propertyKey: null depends on: ("pageConfiguration", > "task", "entity", "object.eventType", "propertyKey") > > Even disabling the rule in RuleModeler will still still call object.eventType > on the displayPropertyKeys rhs key > > CACHE: displayPropertyKeys for propertyKey: null depends on: > ("pageConfiguration", "task", "entity", "RuleIsDisabled", "object.eventType", > "propertyKey") > > Only deleting the rule will prevent the action from being called. > > The idea of the rule is to show certain properties for a certain event type. > Any idea how to solve this? > > -- > Freddie Tilley > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
