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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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"/>