Re: ps: database failures not rolling up to eof stack ??

2011-01-31 Thread Chuck Hill
On Jan 29, 2011, at 5:48 AM, Ramsey Gurley wrote: > Someone already beat you to it Jake, > > http://issues.objectstyle.org/jira/browse/WONDER-664 > > And as usual, Chuck Hill is right (^_^) Well, maybe almost half right. It throws, so it does not (or need to) return true. > The method in q

Re: ps: database failures not rolling up to eof stack ??

2011-01-29 Thread Ramsey Gurley
Someone already beat you to it Jake, http://issues.objectstyle.org/jira/browse/WONDER-664 And as usual, Chuck Hill is right (^_^) The method in question throws or returns false. Following the methods up the call stack, I see databaseContextShouldHandleDatabaseException returns !handled. So t

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 7:09 PM, Jake Fisher wrote: > In ERXSqlHelper-->MySQLHelper-->handleDatabaseException it swallows > the jdbc exception whole and never reports it. The best you ever get > bubbled up to you in a completely non-descriptive custom validator > exception. > > I have been m

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Jake Fisher
In ERXSqlHelper-->MySQLHelper-->handleDatabaseException it swallows the jdbc exception whole and never reports it. The best you ever get bubbled up to you in a completely non-descriptive custom validator exception. I have been meaning to log this as an issue for a long time, sorry for that

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 2:16 PM, Simon wrote: > Check for a custom EC, custom DB context, or delegates for either of those as > a place to start. At what point are you NOT seeing it? Could it just be > getting ignored at the UI level? I have seen "clever" handling like this: > > public WOAction

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
> > Check for a custom EC, custom DB context, or delegates for either of those > as a place to start. At what point are you NOT seeing it? Could it just be > getting ignored at the UI level? I have seen "clever" handling like this: > > public WOActionResults save() { >try { >editingC

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 1:00 PM, Simon wrote: > > > the repeatable situation that we see this happening is when we try and set > > a string value that is defined as width X in the model and DB to something > > greater than X. > > That should cause a validation error in EOF, not a string truncatio

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
> > > > the repeatable situation that we see this happening is when we try and > set a string value that is defined as width X in the model and DB to > something greater than X. > > That should cause a validation error in EOF, not a string truncation error > in the database. Did you write that bac

Re: ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Chuck Hill
On Jan 28, 2011, at 12:21 PM, Simon wrote: > oops - i forgot to mention: > > - full wonder apps and frameworks > - wo5.4 > - mysql 5.1 > > > -- Forwarded message -- > From: Simon > Date: 28 January 2011 20:19 > Subject: database failures no

ps: database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
oops - i forgot to mention: - full wonder apps and frameworks - wo5.4 - mysql 5.1 -- Forwarded message -- From: Simon Date: 28 January 2011 20:19 Subject: database failures not rolling up to eof stack ?? To: WebObjects Development hi all - we have an ongoing issue with

database failures not rolling up to eof stack ??

2011-01-28 Thread Simon
hi all - we have an ongoing issue with database update failures seemingly not rolling up into the eof stack. this is basically what happens: - create or update a few eo's in an ec & all save changes - we see the insert and/or update sql transactions go through - app continues and thinks everythin