Re: Strange constraint violation

2011-09-30 Thread Pascal Robert
If you try that INSERT call in FrontBase Manager, does it works? Hello all, For some reason I'm seeing the below constraint violation when I try to insert a new EO into my database (frontbase). I checked the database, and in the t_pool table, no row exists that has the ID of the row

Re: Strange constraint violation

2011-09-30 Thread Petite Abeille
On Sep 30, 2011, at 6:44 AM, Jeff Schmitz wrote: Integrity constraint violation (FOREIGN KEY, t_pool.t_pool_id_id_FK(id=102)). as I don't know why it would be considered a foreign key since it's the ID of the row being added, Well, is your t_pool.pool_id pk used in any foreign key

WOLips.framework and log4j

2011-09-30 Thread Pascal Robert
Ok, so I'm still trying to debug my problem with the exception David Holt and I are getting when the WOLips framework is part of the build part and WOLips is set to bundle-less mode (see https://github.com/wolips/wolips/issues/5 for a summary of the problem). For the fun of it, I installed

Re: WOLips.framework and log4j

2011-09-30 Thread Kieran Kelleher
long shot, does emptying the contents of /Library/WebObjects/Extensions make any difference? I empty that dir without a second thought any time I install WebObjects. On Sep 30, 2011, at 8:01 AM, Pascal Robert wrote: Ok, so I'm still trying to debug my problem with the exception David Holt and

Re: WOLips.framework and log4j

2011-09-30 Thread Pascal Robert
Le 2011-09-30 à 08:39, Kieran Kelleher a écrit : long shot, does emptying the contents of /Library/WebObjects/Extensions make any difference? I empty that dir without a second thought any time I install WebObjects. Didn't help. Also removed /Library/WebObjects/Libs, ~/.eclipse and ~/.m2,

Re: creating first framework

2011-09-30 Thread Jean-Francois Veillette
Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is really good if you're having difficulty with Jenkins. Wow, that Video is very informative about configuring Hudson and what is missing and all! I'm halfway through and will take the time to finish it. Well done

Re: creating first framework

2011-09-30 Thread Ramsey Gurley
On Sep 30, 2011, at 8:56 AM, Jean-Francois Veillette wrote: Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is really good if you're having difficulty with Jenkins. Wow, that Video is very informative about configuring Hudson and what is missing and all! I'm

Re: creating first framework

2011-09-30 Thread Pascal Robert
Le 2011-09-30 à 12:15, Ramsey Gurley a écrit : On Sep 30, 2011, at 8:56 AM, Jean-Francois Veillette wrote: Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is really good if you're having difficulty with Jenkins. Wow, that Video is very informative about

Re: creating first framework

2011-09-30 Thread Chuck Hill
On 2011-09-30, at 9:15 AM, Ramsey Gurley wrote: On Sep 30, 2011, at 8:56 AM, Jean-Francois Veillette wrote: Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is really good if you're having difficulty with Jenkins. Wow, that Video is very informative about

WOWODC 2012 and Boot Camp official dates!

2011-09-30 Thread Pascal Robert
Good afternoon everyone, The WOWODC 2012 dates are now official! It will be held from June 30 to July 2. It was the preferred period for people who answered the surveys, hence the choice. We will also have the WO Boot Camp from June 28 to June 30. Paul Lynch of PL Software, one of the few

Re: creating first framework

2011-09-30 Thread Ramsey Gurley
On Sep 30, 2011, at 9:43 AM, Chuck Hill wrote: On 2011-09-30, at 9:15 AM, Ramsey Gurley wrote: On Sep 30, 2011, at 8:56 AM, Jean-Francois Veillette wrote: Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is really good if you're having difficulty with Jenkins.

Re: creating first framework

2011-09-30 Thread Chuck Hill
On 2011-09-30, at 9:57 AM, Ramsey Gurley wrote: On Sep 30, 2011, at 9:43 AM, Chuck Hill wrote: On 2011-09-30, at 9:15 AM, Ramsey Gurley wrote: On Sep 30, 2011, at 8:56 AM, Jean-Francois Veillette wrote: Dave Avendasora's presentation 'Practical Builds (WOWODC East 2009)' is

Re: Strange constraint violation

2011-09-30 Thread Chuck Hill
Connect to that database using FrontBaseManager. Go to Schema Objects, select that table and click the Open Definition button. Click Foreign Key and see what is really set for that table. It looks like perhaps you have made a self-referencing FK constraint. On 2011-09-29, at 9:44 PM, Jeff

Re: Strange constraint violation

2011-09-30 Thread Jeff Schmitz
Hi Pascal, Yes, it gets the same error when executed directly from FrontbaseManager: INSERT INTO t_pool(c_spare_string, c_name, c_paid, c_admin_email, c_can_i_wins_calculated, c_ud_bonus, c_possibilities, c_admin_pw, c_weighted, c_password, c_stand_alone, c_early_bird_paid, c_entry_limit,

Re: Strange constraint violation

2011-09-30 Thread Chuck Hill
It sure looks like you have a constraint that says t_pool.id = t_pool.id. Check in FB manager. On 2011-09-30, at 11:06 AM, Jeff Schmitz wrote: Hi Pascal, Yes, it gets the same error when executed directly from FrontbaseManager: INSERT INTO t_pool(c_spare_string, c_name, c_paid,

Re: Strange constraint violation

2011-09-30 Thread Jeff Schmitz
Yep, that's the clue I needed. There's a defined relationship from Pool to another EO (Pricing) that I created with Propagates primary key. Should such objects get created automatically in the createxxx function of the parent EO code generated by EOModeler? Seems like they would have to be

Re: Strange constraint violation

2011-09-30 Thread Chuck Hill
If it also Owns Destination (I think) and is to-one, then EOF will automatically create it. Otherwise you need to create it. Is the Pricing relationship optional or mandatory? Is that constraint marked as DEFERRED INITIALLY DEFERRED? Chuck On 2011-09-30, at 11:47 AM, Jeff Schmitz wrote:

Re: Strange constraint violation

2011-09-30 Thread Jeff Schmitz
Yes, it is also set to Owns Destination. It's to-one from Pool to Pricing, but I didn't create a return relationship in the Pricing EO, so I don't know if you would consider that one-to-one. It is mandatory though. Deferrable is set to No, Check Time is set to Initially Immediate. Oh, and

Re: Strange constraint violation

2011-09-30 Thread Chuck Hill
On 2011-09-30, at 12:18 PM, Jeff Schmitz wrote: Yes, it is also set to Owns Destination. It's to-one from Pool to Pricing, but I didn't create a return relationship in the Pricing EO, so I don't know if you would consider that one-to-one. It is mandatory though. Deferrable is set to