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

Newsletter can be subscribed with same email address multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Release Branch 16.11, Trunk, Upcoming Branch
    • 18.12.06, 22.01.01
    • ecommerce
    • None

    Description

      Steps to regenerate:
      1. Go to Ecommerce component (https://demo-trunk.ofbiz.apache.org/ecommerce/control/main)
      2. In Sign Up For Contact List section from the left panel, select contactList for Newsletter.
      3. Fill out the email address and Click on Subscribe button.
      Try subscribing with the same email address for the newsletter. Email is again added to Newsletter subscription list even if it is already subscribed for it. Email address with pending and accepted status can be again added to the list with pending status.
      Multiple entries are created in ContactListParty entity for the same preferredContactMechId.
      At Service level, it should check if already an entry in pending or accepted status exists.

      Attachments

        1. OFBIZ-9361.patch
          5 kB
          Aditya Sharma

        Issue Links

          Activity

            People

              Giulio_MpStyle Giulio Speri
              adityasharma Aditya Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: