Steps to regenerate:
1. Go to ecommerce store.
2. Click on contactus link.
3. Submit Contact us query with your contact details.
Expected Result: Some sensible feedback message should be displayed to user & an email should be sent to company email address
Actual result : Default message is shown as 'service executed successfully' & no email is sent to company email address
Resolution and testing:
The patch modifies "createAnonContact" event from specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
- instead of calling "createCommunicationEventWithoutPermission" service we can call "sendContactUsEmailToCompany" which itself call "createCommunicationEventWithoutPermission" and send email additionally.
- After service execution we can display a message using new UiLabel "ThankYouForContactingUs".
Expected Result: A feedback message should be displayed as "Thank you for contacting us" & an email should be delivered to company email address.
Patch will work for Release 13.07, 14.12 and trunk.