You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/04/28 10:47:12 UTC

svn commit: r1741393 - /ofbiz/trunk/applications/order/servicedef/services.xml

Author: jleroux
Date: Thu Apr 28 08:47:12 2016
New Revision: 1741393

URL: http://svn.apache.org/viewvc?rev=1741393&view=rev
Log:
A patch from Ingo Wolfmayr for "Email-Notification send multiple times" - https://issues.apache.org/jira/browse/OFBIZ-7025

Enable E-Mail Notifications
Create order (trigger sendOrderConfirmation)

--> createOrderNotificationLog fails due to missing PK in "entity-auto"

Modified:
    ofbiz/trunk/applications/order/servicedef/services.xml

Modified: ofbiz/trunk/applications/order/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services.xml?rev=1741393&r1=1741392&r2=1741393&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services.xml Thu Apr 28 08:47:12 2016
@@ -78,6 +78,7 @@ under the License.
 
     <service name="createOrderNotificationLog" engine="entity-auto" default-entity-name="OrderNotification" invoke="create">
         <description>Logs when a notification was sent</description>
+        <auto-attributes include="pk" mode="OUT" optional="false"/>
         <attribute name="orderId" type="String" mode="IN" optional="false"/>
         <attribute name="emailType" type="String" mode="IN" optional="false"/>
         <attribute name="comments" type="String" mode="IN" optional="true"/>