You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "BJ Freeman (JIRA)" <ji...@apache.org> on 2006/07/27 21:09:14 UTC

[jira] Commented: (OFBIZ-66) Delete botton in ListCommunications does not delete underlying data.

    [ http://issues.apache.org/jira/browse/OFBIZ-66?page=comments#action_12423897 ] 
            
BJ Freeman commented on OFBIZ-66:
---------------------------------

I am looking at the services:

  <simple-method method-name="deleteCommunicationEvent" short-description="Delete a CommunicationEvent">
        <check-permission permission="PARTYMGR" action="_CME_DELETE">
            <fail-property resource="PartyUiLabels" property="PartyUpdateCommunicationEventPermissionError"/>
        </check-permission>
        <check-errors/>

        <entity-one entity-name="CommunicationEvent" value-name="event"/>
        <remove-value value-name="event"/>
    </simple-method>

I have not found any info that tells me if this deletes the underlying entities connected to this ID.

As far as I undertand the entity code, it does not walks the entity relationships to find ones with the communicaitonID.

So if I am one the right path, there should be list of calls to the underlying entities that are deleted before the communicationsevent is deleted.

any input is appreciated. 

> Delete botton in ListCommunications does not delete underlying data.
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-66
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-66
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content, party
>    Affects Versions: SVN trunk
>            Reporter: BJ Freeman
>
> Incommingemails 
> creates communications event
> Communicationevent roles
> and Content
> all linked together.
> in commforms.xml->ListPartyCommEvents()
> the remove link
>             <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deletePartyCommunicationEvent?partyId=${partyId}&amp;communicationEventId=${communicationEventId}"/>
> working back thru the controller  and the services I don't see any thing that deals with removing the text or attachments of an email.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira