[ https://issues.apache.org/jira/browse/OFBIZ-5311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacopo Cappellato closed OFBIZ-5311. ------------------------------------ > Error when we delete workeffort > -------------------------------- > > Key: OFBIZ-5311 > URL: https://issues.apache.org/jira/browse/OFBIZ-5311 > Project: OFBiz > Issue Type: Bug > Components: workeffort > Affects Versions: Release Branch 12.04, Release Branch 11.04 > Reporter: Dhiraj Gupta > > Hi All > Wnen we click on delete button on this page > https://demo-trunk.ofbiz.apache.org/workeffort/control/FindWorkEffort > then it gives the error > The Following Errors Occurred: > Exception thrown while removing entity value: Exception while deleting the > following entity: > [GenericEntity:WorkEffort][workEffortId,DEMO-TASK-4(java.lang.String)] (SQL > Exception while executing the following:DELETE FROM OFBIZ.WORK_EFFORT WHERE > WORK_EFFORT_ID=? (DELETE on table 'WORK_EFFORT' caused a violation of foreign > key constraint 'CSTREQ_WF_WEFF' for key (DEMO-TASK-4). The statement has been > rolled back.)) > Thanks > Dhiraj Gupta -- This message was sent by Atlassian JIRA (v6.2#6252)