Re: Weird problem with D2W rules
Re: Weird problem with D2W rules
- Subject: Re: Weird problem with D2W rules
- From: Ramsey Gurley <email@hidden>
- Date: Fri, 29 Mar 2013 15:37:56 -0700
On Mar 29, 2013, at 2:27 PM, Freddie Tilley wrote:
> at er.modern.directtoweb.components.header.ERMD2WSimpleHeader.headerString(ERMD2WSimpleHeader.java:25)
>
My wonder says that line is:
return stringValueForBinding(Keys.displayNameForPageConfiguration);
What is your rule for displayNameForPageConfiguration? It doesn't look like your stack trace goes through ERDDefaultDisplayNameAssignment.
Kieran,
This also looks like a bug in wonder. ERXGenericRecord doesn't handle a null editingContext() in handleQueryForUnboundKey(). That's going to be the case on deleted objects.
I think that should just check entity().primaryKeyAttributeNames().contains(key) first. That method is called a lot and there's no reason to be building pk dictionaries every time. This shouldn't wait for the next integration merge.
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden