Hi all,I have a Wonder D2W app with an entity that has a attribute that stores a date. When doing a search on the queryAll page for that entity using said date attribute, I get the following error
java.lang.IllegalArgumentException: Illegal pattern character 'Y'
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446)
at com.webobjects.foundation.NSTimestampFormatter
$__NSSimpleDateFormat.<init>(NSTimestampFormatter.java:839)
at
com
.webobjects
.foundation
.NSTimestampFormatter._getSimpleDateFormat(NSTimestampFormatter.java:
569)
at
com
.webobjects
.foundation
.NSTimestampFormatter._parseDateFormat(NSTimestampFormatter.java:545)
at
com
.webobjects
.foundation.NSTimestampFormatter.parseObject(NSTimestampFormatter.java:
709)
at java.text.Format.parseObject(Format.java:219)
at
com
.webobjects.woextensions.WOAnyField.setTextFieldValue(WOAnyField.java:
186)
...
Obviously, it's choking on a WOTextField formatter. It doesn't seem
to care what my formatter value happens to be in the rules. I'm
wondering if there is an easy fix I'm overlooking before I try to
handle the problem myself in a WOAnyField subclass.
Thanks everyone, 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]
