← Back to team overview

openerp-india team mailing list archive

[Bug 1318330] [NEW] wrong subscription logic when routing message into a mail.group

 

Public bug reported:

Lets say you have a domain: example.com, and a general e-mail address
for questions: info@xxxxxxxxxxx. Lets say you have an outer e-mail
account for testing: user@xxxxxxxxx.

1. Create a POP server, an account in it, and route the info@xxxxxxxxxxx e-mails into that account.
2. Install OpenERP, set up mail alias to "example.com", and fetching that e-mail account. I setted up to create a new record in: "Email Thread", and no server actions.
3. Create a group, and give this info@xxxxxxxxxxx e-mail address to it. I choosed to be a Private group, with no automatic subscription, and allowed to everyone to write into this group.
4. Create a customer (or contact) with this user@xxxxxxxxx e-mail address.
5. Write an email from user@xxxxxxxxx into the info@xxxxxxxxxxx.

What i wait is this: Every members of this group will get the email, and nothing changes in the members list.
What i get is: that contact (with the user@xxxxxxxxx e-mail address) is becomed a follower for that group. And because of this, that contact will get every e-mail afterwards!

This bug is affected by saas3/saas4 version, fix is included (for
saas4).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Patch added: "eliminate auto subsciption into a mail.group by writing a mail into it"
   https://bugs.launchpad.net/bugs/1318330/+attachment/4109808/+files/openobject-addons-saas-4.patch

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1318330

Title:
  wrong subscription logic when routing message into a mail.group

Status in OpenERP Addons (modules):
  New

Bug description:
  Lets say you have a domain: example.com, and a general e-mail address
  for questions: info@xxxxxxxxxxx. Lets say you have an outer e-mail
  account for testing: user@xxxxxxxxx.

  1. Create a POP server, an account in it, and route the info@xxxxxxxxxxx e-mails into that account.
  2. Install OpenERP, set up mail alias to "example.com", and fetching that e-mail account. I setted up to create a new record in: "Email Thread", and no server actions.
  3. Create a group, and give this info@xxxxxxxxxxx e-mail address to it. I choosed to be a Private group, with no automatic subscription, and allowed to everyone to write into this group.
  4. Create a customer (or contact) with this user@xxxxxxxxx e-mail address.
  5. Write an email from user@xxxxxxxxx into the info@xxxxxxxxxxx.

  What i wait is this: Every members of this group will get the email, and nothing changes in the members list.
  What i get is: that contact (with the user@xxxxxxxxx e-mail address) is becomed a follower for that group. And because of this, that contact will get every e-mail afterwards!

  This bug is affected by saas3/saas4 version, fix is included (for
  saas4).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1318330/+subscriptions


Follow ups

References