You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rohit Hukkeri (JIRA)" <ji...@apache.org> on 2019/05/25 12:08:00 UTC

[jira] [Comment Edited] (OFBIZ-10976) Unable to add product to cart when user enter detail in Tell-A-Friend link.

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

Rohit Hukkeri edited comment on OFBIZ-10976 at 5/25/19 12:07 PM:
-----------------------------------------------------------------

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 has solved the issue.


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