You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/11/15 07:34:11 UTC

[jira] [Comment Edited] (OFBIZ-6703) Cannot create more than one lead in the SFA component by same user

    [ https://issues.apache.org/jira/browse/OFBIZ-6703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982101#comment-14982101 ] 

Jacques Le Roux edited comment on OFBIZ-6703 at 11/15/15 6:33 AM:
------------------------------------------------------------------

Hi Hans,

You are right, the revert is not necessary for releases 12.04 and 13.07, after investigating this I found that below commit. This is now irritating me more. We are switching from minilang to entity-auto without any thought to business rules embedded in the services! Why do we do that?

I think a cleaner solution is revert the logic on all the releases including trunk and instead reintroduce the service implementation instead of entity auto. What do you think?

{quote}
r1622161 | jleroux | 2014-09-03 06:55:32 +0300 (Wed, 03 Sep 2014) | 30 lines

A patch from  Nicolas Malin for "Convert Party entites CRUD service from simple to entity-auto" OFBIZ-5750

I converted CRUD service to entity-auto for :
  PartyRole
  PostalAddressBoundary
  PartyClassification
  PartyClassificationGroup
  PartyAttribute
  Vendor
  PartyCarrierAccount
{quote}


was (Author: taher):
Hi Hans,

You are right, the revert is not necessary for releases 12.04 and 13.07, after investigating this I found that below commit. This is now irritating me more. We are switching from minilang to entity-auto without any thought to business rules embedded in the services! Why do we do that?

I think a cleaner solution is revert the logic on all the releases including trunk and instead reintroduce the service implementation instead of entity auto. What do you think?

{quote}
r1622161 | jleroux | 2014-09-03 06:55:32 +0300 (Wed, 03 Sep 2014) | 30 lines

A patch from  Nicolas Malin for "Convert Party entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5750

I converted CRUD service to entity-auto for :
  PartyRole
  PostalAddressBoundary
  PartyClassification
  PartyClassificationGroup
  PartyAttribute
  Vendor
  PartyCarrierAccount
{quote}

> Cannot create more than one lead in the SFA component by same user
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-6703
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6703
>             Project: OFBiz
>          Issue Type: Bug
>          Components: marketing
>    Affects Versions: Trunk
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>             Fix For: Upcoming Branch
>
>
> Repeat steps:
> # go to SFA component and click on leads
> # click on create new
> # fill mandatory information and save
> # repeat the above steps again and observe failure
> The reason for the failure is that the implementation of the createLead service tries to create a PartyRole of type OWNER every time a lead is created. So it works only the first time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)