[
https://issues.apache.org/jira/browse/OFBIZ-10976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohit Hukkeri resolved OFBIZ-10976.
-----------------------------------
Resolution: Fixed
Attaching patch for the mentioned issue.
As mentioned in the ticket description, I was able to regenerate issue successfully on latest trunk version.Explored around it.
When we select a product , click on the Tell-A-Friend link and filling the details in the window we will get back to main page.Adding product to cart consists of the controller request which has a field save-last-view and it is set as true. Hence it was redirecting to the window which was showing the error message i.e response to details filled in Tell-A-Friend window.
Removing this field will solve the issue hence closing the ticket for now.
> Unable to add product to cart when user enter detail in Tell-A-Friend link.
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-10976
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10976> Project: OFBiz
> Issue Type: Bug
> Reporter: Ashish Sharma
> Assignee: Rohit Hukkeri
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-10976.png
>
>
> *Step to reproduce*
> 1. Login with valid username and password.
> 2. Navigate to ecommerce.
> 3. Select a product and click on link Tell-A-Friend.
> 4. Enter detail in Tell-A-Friend window.
> 5. Click on link add to cart link.
> *Actual Result:* Error message is displayed as "Tell a friend sorry".
> *Screen print attached*
> *Note - Email validation is not added in Tell-A-Friend window.*
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)