You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2022/07/11 08:09:00 UTC

[jira] [Commented] (OFBIZ-12172) Remove CommunicationContent is not working as expected

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

Jacques Le Roux commented on OFBIZ-12172:
-----------------------------------------

Hi Michael,

In all demos I get this error for the 1st line ("CR#TEST1"):

{noformat}
Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error (org.apache.ofbiz.entity.GenericEntityException: org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting the following entity: [GenericEntity:CommunicationEvent][communicationEventId,DEMO-COM-BACKLOG-1(java.lang.String)] (SQL Exception while executing the following:null (DELETE on table 'COMMUNICATION_EVENT' caused a violation of foreign key constraint 'CUSTREQ_CEV_CEV' for key (DEMO-COM-BACKLOG-1). The statement has been rolled back.)) (Exception while deleting the following entity: [GenericEntity:CommunicationEvent][communicationEventId,DEMO-COM-BACKLOG-1(java.lang.String)] (SQL Exception while executing the following:null (DELETE on table 'COMMUNICATION_EVENT' caused a violation of foreign key constraint 'CUSTREQ_CEV_CEV' for key (DEMO-COM-BACKLOG-1). The statement has been rolled back.))))
{noformat}

HTH

> Remove CommunicationContent is not working as expected
> ------------------------------------------------------
>
>                 Key: OFBIZ-12172
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12172
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk, Upcoming Branch
>            Reporter: Sebastian Berg
>            Assignee: Michael Brohl
>            Priority: Minor
>
> How to reproduce:
> Go to Party -> Communication -> Search -> select any entry with CommunicationContent -> On the right side under 'Related Content' in the table 'Communication Content' delete any entry
> Result: The user gets navigated to EditCommunicationEvent. If I go back to the CommunicationContent the deleted entry still shows.
>  
> From my perspective the expected behavior would be to remain on the current view, while the CommunicationContent gets deleted.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)