Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6112

Incorrect Error Displayed when "Expiring" a Contact Mechanism

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 13.07.01
    • Fix Version/s: 16.11.01
    • Component/s: ecommerce
    • Labels:
      None

      Description

      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.

      1. OFBIZ-6112.patch
        0.7 kB
        Forrest Rae

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Forrest,

        Committed in
        trunk r1662361
        R14.12 r1662362
        R13.07 r1662363
        R12.04 r1662364

        Please use patches in right format, yours can't be applied as is.

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Forrest, Committed in trunk r1662361 R14.12 r1662362 R13.07 r1662363 R12.04 r1662364 Please use patches in right format, yours can't be applied as is.
        Hide
        fbr@14x.net Forrest Rae added a comment -

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

        Show
        fbr@14x.net Forrest Rae added a comment - Whoops, sorry. I did it again the git repo on github. Thankfully it was just a one liner.

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            fbr@14x.net Forrest Rae
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development