Oops, meant to copy this to the list... Begin forwarded message:
From: Ramsey Gurley <[EMAIL PROTECTED]> Date: September 8, 2008 9:53:46 PM EDT To: Guido Neitzer <[EMAIL PROTECTED]> Subject: Re: IllegalArgumentException in D2W queryAll page? On Sep 8, 2008, at 6:11 PM, Guido Neitzer wrote:On 08.09.08 15:39, "Ramsey Gurley" <[EMAIL PROTECTED]> wrote:Well if YOU don't use it, then I'm definitely going to have to look atfixing the thing. You do seem to be the authority on D2W lately ;-)Argl. No. Never.I just never understood what sense that QueryAll page makes. But as always:YMMV.Looking at the WOD in the D2WQueryAnyField for both Apple and Project Wonder, I do not see the formatter being set... Is this supposed to be set some other way? I first though, hmmm, I'll just grab it from the d2wContext, but WOAnyField doesn't have a d2wContext... it's from WOExtensions. So I'm guessing it really needs to be set by that QueryAnyField wrapper.Probably.So what do you think... am I counting correctly... is that three bugsto file? 1. Default format string (Apple) 2. Date equals is too precise (Apple) 3. D2WQueryAnyField should set the formatter in the WOD (Apple and Wonder)Seems so. Have you checked whether you can fix it ERDAnyField? cugHmmm, it seems only 1 and 3 appear to be bugs. After much searching, it appears the value of one of the dates was set an hour back because I was using an old NSTimestampFormatter format string when I created it. I should have *started* by looking at the data in the database (>.<) That means the display date component is adding an hour though... Hmmm... Still a little puzzled at this point. 1 is easy to work around with the fix for 3 though.Ramsey
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
