You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/07/13 20:56:43 UTC

svn commit: r676406 - in /ofbiz/trunk: applications/party/script/org/ofbiz/party/communication/ applications/party/webapp/partymgr/WEB-INF/actions/communication/ specialpurpose/mypage/webapp/mypage/WEB-INF/

Author: hansbak
Date: Sun Jul 13 11:56:43 2008
New Revision: 676406

URL: http://svn.apache.org/viewvc?rev=676406&view=rev
Log:
Some more errors in mypage,party communications fixed

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
    ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/getPartyEmailFromCommEventInfo.groovy
    ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=676406&r1=676405&r2=676406&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Sun Jul 13 11:56:43 2008
@@ -260,6 +260,6 @@
         <set field="inCom.statusId" value="COM_ENTERED"/>
         <call-service service-name="updateCommunicationEvent" in-map-name="inCom"/>
         
-        <field-to-request field-name="parmeters.communicationEventId" request-name="communicationEventId"/>
+        <field-to-request field-name="parameters.communicationEventId" request-name="communicationEventId"/>
     </simple-method>   
 </simple-methods>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/getPartyEmailFromCommEventInfo.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/getPartyEmailFromCommEventInfo.groovy?rev=676406&r1=676405&r2=676406&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/getPartyEmailFromCommEventInfo.groovy (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/communication/getPartyEmailFromCommEventInfo.groovy Sun Jul 13 11:56:43 2008
@@ -27,7 +27,7 @@
 nameString = "Sent from: ";
 int startEmail = communicationEvent.note.indexOf(nameString) + nameString.length();
 int endEmail = communicationEvent.note.indexOf(";", startEmail);
-context.emailAddress = communicationEvent.note.substring(startEmail, endEmail-1);
+context.emailAddress = communicationEvent.note.substring(startEmail, endEmail);
 
 nameString = "Sent Name from: ";
 int startName = communicationEvent.note.indexOf(nameString) + nameString.length();

Modified: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml?rev=676406&r1=676405&r2=676406&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml (original)
+++ ofbiz/trunk/specialpurpose/mypage/webapp/mypage/WEB-INF/controller.xml Sun Jul 13 11:56:43 2008
@@ -189,7 +189,7 @@
         <security https="true" auth="true"/>
         <event type="simple" path="org/ofbiz/party/communication/CommunicationEventServices.xml" invoke="allocateMsgToParty"/>
         <response name="success" type="view" value="otherCommunications"/>
-        <response name="error" type="view" value="ViewOtherCommunicationEvent"/>
+        <response name="error" type="view" value="ViewCommunicationEvent"/>
     </request-map>
 
     <view-map name="main" type="screen" page="component://mypage/widget/CommonScreens.xml#main"/>