You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Amardeep Singh Jhajj (JIRA)" <ji...@apache.org> on 2015/01/17 13:18:34 UTC

[jira] [Comment Edited] (OFBIZ-5034) Contact us with service message & email notification

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

Amardeep Singh Jhajj edited comment on OFBIZ-5034 at 1/17/15 12:18 PM:
-----------------------------------------------------------------------

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.


was (Author: amardeepsj):
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.patch, 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)