Yes, with or without values in the search fields. I have noticed that
when I view the model in Entity Modeler, apart from a stack of
warnings (was created using EOModeler), the Java EO classes are not in
packages. That hasn't been a problem before, but I'll tidy that up and
report back if I can find a fix. I was thinking that other people
might also have found that their D2W apps stopped working when moved
to Leopard, but perhaps I have come across something unusual. Thanks
anyway.
On 16 Jan 2008, at 16:42, Mr. Pierre Frisch wrote:
Does this occurs with any values in the fields? It looks like the
request is returning an array of values instead of a single value.
Pierre
--
Pierre Frisch
[EMAIL PROTECTED]
On Jan 16, 2008, at 3:37, John Pollard wrote:
Hi Pierre,
The page and the query that runs when Search is clicked is all
D2W's work. The page is brought into being using:
D2W.factory().queryPageForEntityNamed("Note", session());
i.e. it builds itself around my Note entity object.
So I would assume that D2W is not running a raw query.
John
On 16 Jan 2008, at 11:08, Mr. Pierre Frisch wrote:
Would your fetch specification have the raw row flag turned on?
Pierre
--
Pierre Frisch
[EMAIL PROTECTED]
On Jan 16, 2008, at 0:44, John Pollard wrote:
Hi WO Dev List,
We have moved several apps to Leopard/WO5.4 successfully (not
D2W), but we have one D2W application which produces the
following exception when a search of some data is triggered by
clicking on a Search button in the app. As D2W is 90+% WO doing
its magic stuff, I am not quite sure how to track this problem
down. Can anyone advise on why there might be a cast class
exception of NSMutableArray within eoaccess when DTW is running a
query? This worked ok pre-WO5.4.
[2008-1-16 8:16:25 GMT] <main> Waiting for requests...
[2008-1-16 8:17:19 GMT] <WorkerThread7>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.ClassCastException:
com.webobjects.foundation.NSMutableArray
[2008-1-16 8:17:19 GMT] <WorkerThread7>
java.lang.ClassCastException:
com.webobjects.foundation.NSMutableArray
at com.webobjects.eoaccess.EOQualifierSQLGeneration
$
_KeyValueQualifierSupport
.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:
438)
[snip...]
_______________________________________________
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]