Come on Hans, you really wants to upset me :-o ?
No I did not miss it, but it seems you missed my anwser.
I see your point, I though thought that, with my explanation, you would debug/fix that yourself since you committed in 1st place.
I already answered you (see thread link in description) that to create an opportunity you need a leadPartyId. Because OOTB in UI (same with services) to create an opportunity you must
- use the EditSalesOpportunity request which loads the EditSalesOpportunity screen itself using the OpportunityForms.xml#EditSalesOpportunity form.
- This form calls the createSalesOpportunity request when it's not an update.
- The createSalesOpportunity request calls the createSalesOpportunity service.
- The createSalesOpportunity service triggers the SECAs which launch the createSalesOpportunityLeadRole and/or createSalesOpportunityAccountRole services if leadPartyId and/or accountPartyId (ONLY IF) is/are not empty.
Since leadPartyId and/or accountPartyId are no mandatory in EditSalesOpportunity form, nor in createSalesOpportunity/updateSalesOpportunity services, that's why you have this SECA condition, else you would not be able to create/update an opportunity.
I hope I gave you enough details to fix the issue. Hint: it's the list which should be fixed, not the SECA (and even less only one of them but the 4 - create/update for lead and account - if you would have been consistent but still wrong)
You really have a skill to have others working for you, don't you?
I'm an OFBiz volunteer, but sometimes I wonder... And today I better understand Adrian's harsh reaction on dev ML one day, please refer to it...
Following the discussion on dev ML. I reverted the change done with http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?r1=1723248&r2=1723247&pathrev=1723248 with revision: 1725574