You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditya Sharma (Jira)" <ji...@apache.org> on 2022/11/21 12:56:00 UTC

[jira] [Commented] (OFBIZ-9361) Newsletter can be subscribed with same email address multiple times

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

Aditya Sharma commented on OFBIZ-9361:
--------------------------------------

Hello [~Giulio_MpStyle],

Didn't get a chance to look into the details, but after reading your inputs, the given solution makes sense.

> Newsletter can be subscribed with same email address multiple times
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-9361
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9361
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Release Branch 16.11, Trunk, Upcoming Branch
>            Reporter: Aditya Sharma
>            Assignee: Giulio Speri
>            Priority: Trivial
>         Attachments: OFBIZ-9361.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)