account_lead relation not expired and lead roles not deleted while converting a
lead into contact/account in SFA
----------------------------------------------------------------------------------------------------------------
Key: OFBIZ-4691
URL: https://issues.apache.org/jira/browse/OFBIZ-4691
Project: OFBiz
Issue Type: Bug
Components: marketing
Affects Versions: SVN trunk
Reporter: Dimitrios Moustos
Priority: Trivial
leads used to be listed by the ListLeads form even after having been converted.
The solution is to delete the lead partyRoles.
The other problem was that the relationship between the owner of the account
lead was not properly expired due to the party Id being taken from an empty
variable. The solution was changing the wrong variable: partyGroupPartyId to
partyGroupId.
This is my first contribution to ofbiz, so please do review.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira