Re: Test that fail randomly with wounit

2013-06-18 Thread Pascal Robert
Le 2013-06-18 à 20:41, Samuel Pelletier a écrit : > Hi Chuck, > > I think your last comment was correct: > >>> I think that means a model is being used that is not yet in an EOModelGroup. > > I added the model name to the new MockEditingContext() call and no more fail > to date when I run o

Re: Test that fail randomly with wounit

2013-06-18 Thread Samuel Pelletier
Hi Chuck, I think your last comment was correct: >> I think that means a model is being used that is not yet in an EOModelGroup. I added the model name to the new MockEditingContext() call and no more fail to date when I run only this test class. If I run the complete project tests, I still h

Re: Test that fail randomly with wounit

2013-06-18 Thread Samuel Pelletier
Hi Chuck, > Hi Samuel, > > JUnit can/will run tests in a different order each time. So if your tests > depend on something else having happened (EOF getting fully initialized, some > other test running first) you will see random failures like this. I think it > an/will run tests in multiple

Re: Test that fail randomly with wounit

2013-06-18 Thread Chuck Hill
Hi Samuel, JUnit can/will run tests in a different order each time. So if your tests depend on something else having happened (EOF getting fully initialized, some other test running first) you will see random failures like this. I think it an/will run tests in multiple threads too (I use both

Test that fail randomly with wounit

2013-06-18 Thread Samuel Pelletier
Hi, I have a test that succeed sometime and fail other times. If I run the jUnit source that contain this test, it fail sometime in the loadPermission() method. I have no idea where to look at. It is even more strange that sometime, I can have 6 successful tests and after 4 failed in a row. Th

auditKeys and such

2013-06-18 Thread Theodore Petrosky
I an using ERCoreBusinessLogic in my d2w app. It seems to be working except on my to-many relationship batch size. Interesting when I change the value in the batch size, I see the update in the backend: 4|batchSize.EditRelationshipEmbeddedPOCenterTenant|1|{ "_V" = { "cl

Re: updating Wonder?

2013-06-18 Thread Jesse Tayler
good point! including that argument on the .json writer performed as expected. ...continues through forest... On Jun 18, 2013, at 3:19 PM, prob...@macti.ca wrote: > On Tue, 18 Jun 2013 14:57:16 -0400 > Jesse Tayler wrote: >> if I’m getting: >> There is no writer for the format 'jsonp’

Re: updating Wonder?

2013-06-18 Thread probert
On Tue, 18 Jun 2013 14:57:16 -0400 Jesse Tayler wrote: if I’m getting: There is no writer for the format 'jsonp’. If you are trying by adding .jsonp as the format, it won't work. It's a query argument in the URL: ?callback=NameOfYourJavaScriptCallbackMethod after turning on th

Re: updating Wonder?

2013-06-18 Thread Theodore Petrosky
are you using git? I just issue the command: git fetch upstream in my repository and get updated. --- On Tue, 6/18/13, Jesse Tayler wrote: > From: Jesse Tayler > Subject: updating Wonder? > To: "webobjects-dev@lists.apple.com Development" > > Date: Tuesday, June 18, 2013, 2:57 PM > if I’m

updating Wonder?

2013-06-18 Thread Jesse Tayler
if I’m getting: There is no writer for the format 'jsonp’. after turning on the properties here: http://wiki.wocommunity.org/display/documentation/ERRest+Framework#ERRestFramework-SameOriginpolicy is this perhaps because my Wonder is not up to date? I have a relatively recently created

ERD2WDisplayStringWithLineBreaks and  

2013-06-18 Thread Theodore Petrosky
ok, I see that ERD2WDisplayStringWithLineBreaks is a wrapper around ERXStringWithLineBreaks. I am using this on my List page for a column that has text. but nothing I have tried gets rid of the   when the value is null I have a rule: 150 : (pageConfiguration like '*Center' and propertyKey = '

Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Models are on the same database. I have set relationship two entities in the same model and there is no problem but with another model it fails. I use dbConnectServerGLOBAL, dbConnectUserGLOBAL, dbConnectPasswordGLOBAL for models and there is no connection problem. Thanks Chuck Le 18 juin 2013

Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Yep Samuel in the stack it tries to fetch personnels in EOIndividuUlr but the problem "personnel".setIndividuRelationship(individu) is a new entity so, there is no primary key ? I am not at my office, may be tomorrow for SQL expression. Thanks Le 18 juin 2013 à 18:30, Samuel Pelletier a écri

Re: ec.SaveChanges and relationship

2013-06-18 Thread Samuel Pelletier
Strange, it seems EOF failed to create a global id for a result. I think the stack indicate EOF is fetching toMany named "personnels" in the "EOIndividuUlr" entity. I would check the SQL issued by EOF on the console, you may find the row that cause this, check for primary and foreign key proble

Re: Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Chuck Hill
Are they in the same database? If so, the connection information for the two models must be absolutely identical. Chuck On 2013-06-18, at 8:01 AM, Raymond NANEON wrote: > Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents > models. > Envoyé depuis iCloud > > Le 18

Re: Webobjects-dev Digest, Vol 10, Issue 389

2013-06-18 Thread Samuel Pelletier
Le 2013-06-17 à 15:51, Johnny Miller a écrit : > Thank you Samuel, that's very interesting. On something like editing a pages > document or a spreadsheet - do you think the browser sends every change to > the server where the document's "state" is maintained? Or do you think it > builds the

Re: ec.SaveChanges and relationship

2013-06-18 Thread Samuel Pelletier
I would bet your objects are not from the same EOEditingContext. You can verify in the debugger of add a call to localInstanceIn(ec) before using it for your relationship. Samuel Le 2013-06-18 à 05:43, Musall Maik a écrit : > Hi Raymond, > > I have come across those as well some time ago, an

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents models.Envoyé depuis iCloudLe 18 jun 2013 à 07:59, Raymond NANEON a écrit :Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO  er.transaction.adaptor.Exceptions  - Database Exception occured: java.l

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO  er.transaction.adaptor.Exceptions  - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException    at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(

AUTO: Witold Lustanski is out of the office (returning Fri 06/28/2013)

2013-06-18 Thread Witold Lustanski
I am out of the office from Tue 06/18/2013 until Fri 06/28/2013. If you have urgent request, please create Remedy ticket. Note: This is an automated response to your message "Webobjects-dev Digest, Vol 10, Issue 397" sent on 6/18/2013 6:44:07 AM. This is the only notification you will receiv

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Hi Maik,I have read and followed all EOF Commandements but I can't fix the issue.an idea?thanksEnvoyé depuis iCloudLe 18 jun 2013 à 02:43, Musall Maik a écrit :Hi Raymond,I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back the

Re: ec.SaveChanges and relationship

2013-06-18 Thread Musall Maik
Hi Raymond, I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back then. http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-The+EOF+Commandments If you don't follow those, EOF will fight back with all sorts of str

Re: JEE Juno Eclipse (with axis2)+ WOLips

2013-06-18 Thread John Pollard
I have now found the 3.7 (Indigo) JEE version of Eclipse: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-macosx-cocoa-x86_64.tar.gz So will go with that and stick with the stable wolips 3.7 Thanks, John On 18 Jun 2013, at 10:

JEE Juno Eclipse (with axis2)+ WOLips

2013-06-18 Thread John Pollard
I am having a look at Axis2 for SOAP web services which I need to use to connect to a third party web service. I found that I need the JEE version of Eclipse (Juno) rather than the Classic 3.7 version for the axis2 plugins to work. Will I be able to use wolips / project wonder in the JEE Juno Ec

Re: ssl from iOS error? OT?

2013-06-18 Thread Þór Sigurðsson
Before you spend big bucks on an SSL certificate just for testing purposes, issue yourself a free (and just as good) certificate at StartSSL.com (note their server-side certificate chain requirements - they have a pretty decent help page on that). On 17.6.2013, at 12:25, Ja

ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Hi List,I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation :addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); <-When I try another way entity1.set