You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "priya sharma (JIRA)" <ji...@apache.org> on 2017/07/22 11:30:00 UTC
[jira] [Commented] (OFBIZ-9131) Error changing the state of a lead
[ https://issues.apache.org/jira/browse/OFBIZ-9131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097250#comment-16097250 ]
priya sharma commented on OFBIZ-9131:
-------------------------------------
Following are the findings on the issue :
- When user creates a lead, passing the first name and last name only. Person is created with the role "LEAD" and with party status as LEAD_ASSIGNED.
- The cause of reported error is that there is no data for transition from LEAD_ASSIGNED status to PARTY_ENABLED status in STATUS_VALID_CHANGE entity.
- STATUS_VALID_CHANGE entity contains data for transition from LEAD_ASSIGNED to LEAD_QUALIFIED, LEAD_ASSIGNED to LEAD_CONVERTED and LEAD_ASSIGNED to PARTY_DISABLED.
I'm not providing the patch for it as it seems the enabled and disabled statuses of type PARTY_STATUS are put intentionally in the code. Thus I request to community to suggest if we can proceed with the solution I proposed or we should add more valid changes for LEAD_ASSIGNED and proceed accordingly?
> Error changing the state of a lead
> ----------------------------------
>
> Key: OFBIZ-9131
> URL: https://issues.apache.org/jira/browse/OFBIZ-9131
> Project: OFBiz
> Issue Type: Bug
> Components: Demo
> Affects Versions: Release Branch 13.07
> Environment: DEMO
> Reporter: Lisardo de Jesús Bohórquez Bedoya
> Assignee: priya sharma
> Attachments: ERROR STATE CHANGE OF A LEAD.docx
>
>
> After creating a LEAD, it is generated in the Assigned state, then I enter the lead, I change the state (for example to the "Active" state) and I CLICK save, but the action does not execute and the following error is generated.
> Error Calling event: org.ofbiz.webapp.event.EventHandler.Exception: Service invocation error (Could not commit transaction for service [updatePerson] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in service [SetPartyStatus]: Cannot change party status from LEAD_ASSIGNED to PARTY_ENABLED)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)