[jira] [Commented] (OFBIZ-6112) Incorrect Error Displayed when "Expiring" a Contact Mechanism

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6112) Incorrect Error Displayed when "Expiring" a Contact Mechanism

Nicolas Malin (Jira)

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

Forrest Rae commented on OFBIZ-6112:
------------------------------------

Whoops, sorry.  I did it again the git repo on github.   Thankfully it was just a one liner.

> Incorrect Error Displayed when "Expiring" a Contact Mechanism
> -------------------------------------------------------------
>
>                 Key: OFBIZ-6112
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6112
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Trunk, 13.07.01
>            Reporter: Forrest Rae
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-6112.patch
>
>
> When expiring a contact mechanism, an incorrect error is displayed.  This is mostly an error due to code reuse.  There is no reason to redirect back to editcontactmech, instead just redirect to viewprofile.  See attached patch.
> "The contact information specified does not belong to you, you may not view or edit it."
> Repro:
> 1) Login to http://demo-stable-ofbiz.apache.org/ecommerce/control/main as DemoCustomer.
> 2) Navigate to http://demo-stable-ofbiz.apache.org/ecommerce/control/viewprofile
> 3) Click Expire next to one of the Postal Addresses.



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