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

Incorrect Error Displayed when "Expiring" a Contact Mechanism

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 13.07.01, Trunk
    • 16.11.01
    • ecommerce
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            fbr@14x.net Forrest Rae
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment