[ 
https://issues.apache.org/jira/browse/OFBIZ-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281316#comment-14281316
 ] 

Amardeep Singh Jhajj commented on OFBIZ-5034:
---------------------------------------------

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.
                                              

> Contact us with service message & email notification
> ----------------------------------------------------
>
>                 Key: OFBIZ-5034
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5034
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Trunk
>         Environment: trunk 1384260
>            Reporter: Eric de Maulde
>            Priority: Trivial
>         Attachments: OFBIZ-5034_Contact us with service message & email 
> notification.patch
>
>
> Contact us submit doesn't display a message on the page (ex : "Submit OK") 
> and doesn't send an email notification



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to