You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nameet (JIRA)" <ji...@apache.org> on 2013/01/10 16:46:12 UTC

[jira] [Commented] (OFBIZ-5085) Search result for "Find Communications" does not work

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

Nameet commented on OFBIZ-5085:
-------------------------------

Hello,

This issue has been addressed in task https://issues.apache.org/jira/browse/OFBIZ-5073 and fixes are done for trunk and Release Branch 12.04. It will be fixed if it's backported to Release Branch 11.04 and 10.04. 

I am attaching the same patch of task OFBIZ-5073 for the reference.


And secondly I think that in ListCommEvents form of CommunicationEventForms.xml partyId should be passed in place of the partyIdFrom. As in ViewCommunicationEvent screen, value of the partyIdFrom is set via parameters.partyId.

Please look at the attached patch OFBIZ-5085.patch.
                
> Search result for "Find Communications" does not work
> -----------------------------------------------------
>
>                 Key: OFBIZ-5085
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5085
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 10.04
>            Reporter: Sergei Biletnikov
>         Attachments: Bug.png, OFBIZ-5073.patch, OFBIZ-5085.patch
>
>
> Install OFBiz 10.04 from the release 10.04 brunch with demo data. And send email for a party, for example:
> open any order, and click : "send a confirmation email" to the customer party:
> https://localhost:8443/ordermgr/control/confirmationmailedit?orderId=DEMO_B2B_IT02&partyId=DemoCustomer&sendTo=ofbiztest@yahoo.com
> After that, go to Communications:
> https://localhost:8443/partymgr/control/FindCommunicationEvents
> and click "Find".
> you will see:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.NullPointerException (null)
> (also, please see my screenshot)
> My quick investigations say that something happens here:
> applications\party\widget\partymgr\CommunicationEventForms.xml#ListCommEvents
>         <field name="subject">
>             <hyperlink description="${subject}[${communicationEventId}]" target="ViewCommunicationEvent">
>                 <parameter param-name="communicationEventId"/>
>                 <parameter param-name="partyIdFrom" from-field="partyId"/>
>                 <parameter param-name="roleTypeId"/>
>                 <parameter param-name="headerItem" from-field="parameters.headerItem"/>
>             </hyperlink>
>         </field>
> The error disappears, if I comment this line :                 <parameter param-name="partyIdFrom" from-field="partyId"/>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira