This was making my life difficult since last few days.
Although I have't had a chance to look on this issue, but now here you go. The subject missing error was coming on the console again and again although it was sending emails. In case of any error like missing subject it was sending email again and again. I see the orderComplete notification four times on my machine. Here is the sample log message of one of the service sendShipmentCompleteNotification which was failing: Exception: org.ofbiz.service.ServiceValidationException Message: Unknown parameter found: [sendShipmentCompleteNotification.subject] ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendShipmentCompleteNotification.subject] org.ofbiz.service.ModelService.validate(ModelService.java:638) org.ofbiz.service.ModelService.validate(ModelService.java:552) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:482) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242) java.lang.Thread.run(Thread.java:619) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -42,12 +42,12 @@ under the License.
|
||||
<attribute name="note" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="temporaryAnonymousUserLogin" type="org.ofbiz.entity.GenericValue" mode="IN" optional="true"/>
|
||||
<attribute name="messageWrapper" type="org.ofbiz.service.mail.MimeMessageWrapper" mode="OUT"/>
|
||||
<attribute name="subject" type="String" mode="OUT" optional="true"/>
|
||||
</service>
|
||||
<service name="sendOrderConfirmation" engine="java" require-new-transaction="true" max-retry="3"
|
||||
location="org.ofbiz.order.order.OrderServices" invoke="sendOrderConfirmNotification">
|
||||
<description>Send a order confirmation</description>
|
||||
<implements service="orderNotificationInterface"/>
|
||||
<attribute name="subject" type="String" mode="OUT" optional="true"/>
|
||||
</service>
|
||||
<service name="sendOrderChangeNotification" engine="java" require-new-transaction="true" max-retry="3"
|
||||
location="org.ofbiz.order.order.OrderServices" invoke="sendOrderChangeNotification">
|
||||
|
||||
@@ -879,6 +879,7 @@ under the License.
|
||||
<attribute name="screenUri" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="comments" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="body" type="String" mode="OUT" optional="true"/>
|
||||
<attribute name="subject" type="String" mode="OUT" optional="true"/>
|
||||
<attribute name="messageWrapper" type="org.ofbiz.service.mail.MimeMessageWrapper" mode="OUT"/>
|
||||
</service>
|
||||
<service name="updateIssuanceShipmentAndPoOnReceiveInventory" engine="simple"
|
||||
|
||||
Reference in New Issue
Block a user