Re: [Mailman-Developers] Fwd: Mailman | The unsubscribe process using the -leave address does not work because of an `assert` in the code (#310)

2017-02-09 Thread Barry Warsaw
On Feb 09, 2017, at 08:39 AM, Mark Sapiro wrote:

>Except that Issue #309 was opened yesterday, well after the GL database
>incident. So I would think that Issue #310 would have to have been
>created after that.
>
>It seems that something erased or lost issue #310 after it was posted,
>but I don't think it's related to the database rollback.

Oh that's scary then!  I'll see if I can track someone at Gitlab down.

-Barry
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Fwd: Mailman | The unsubscribe process using the -leave address does not work because of an `assert` in the code (#310)

2017-02-09 Thread Mark Sapiro
On 02/09/2017 08:28 AM, Barry Warsaw wrote:
> 
> I'm not positive, but I have a theory.  GL says there are only 309 issues of
> both closed and open state on the mailman project.  It's possible that this
> one got caught up in their database incident:


Except that Issue #309 was opened yesterday, well after the GL database
incident. So I would think that Issue #310 would have to have been
created after that.

It seems that something erased or lost issue #310 after it was posted,
but I don't think it's related to the database rollback.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Fwd: Mailman | The unsubscribe process using the -leave address does not work because of an `assert` in the code (#310)

2017-02-09 Thread Barry Warsaw
On Feb 09, 2017, at 07:38 AM, Mark Sapiro wrote:

>@abompard I don't know what's going here. I received the notice below from
>GitLab. I tried to go there to comment that this looks like a duplicate or at
>least very similar to  which
>was fixed about 3 weeks ago, but GitLab gives me a 404 and says there is no
>issue #310.

I'm not positive, but I have a theory.  GL says there are only 309 issues of
both closed and open state on the mailman project.  It's possible that this
one got caught up in their database incident:

https://about.gitlab.com/2017/02/01/gitlab-dot-com-database-incident/

and the email was queued up before then, since it's date of 09-Feb-2017 is
well after the incident was resolved.  It's known that about 6 hours of
issues, MRs, comments, etc. were irretrievably lost.

I did move an issue from mailman to postorius, but I believe that what happens
in that case is that a new issue is created in the target project (with
duplicate contents but a different issue number in sequence with the target),
while the source project's issue just gets closed.  I can't find that one
right now to confirm.

Anyway, Aurelien would probably need to say whether his issue falls within the
timeline of the GL database snafu or not.  I think there's no option but to
try to re-submit the issue if that's the case.

Cheers,
-Barry
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Fwd: Mailman | The unsubscribe process using the -leave address does not work because of an `assert` in the code (#310)

2017-02-09 Thread Mark Sapiro
@abompard I don't know what's going here. I received the notice below
from GitLab. I tried to go there to comment that this looks like a
duplicate or at least very similar to
 which was fixed about 3
weeks ago, but GitLab gives me a 404 and says there is no issue #310.


 Forwarded Message 
Subject:  Mailman | The unsubscribe process using the -leave
address does not work because of an `assert` in the code (#310)
Date:   Thu, 09 Feb 2017 10:31:52 +
From:   Aurélien Bompard 
Reply-To:   mailman / Mailman

To: m...@msapiro.net



GitLab

Here's the situation that I have confirmed on my servers:

  * a members sends an email to the |-leave| address to unsubscribe
  * they recieve a confirmation email
  * they reply to this email-
  * |SubscriptionManager.confirm()| get called, the
|UnSubscriptionWorkflow| gets restored and run, the goodbye email
gets sent to the user.
  * at the end of the |UnSubscriptionWorkflow| in
|._step_do_unsubscription()|, the |.member| attribute gets set to None
  * the |.confirm()| command returns |workflow.token|,
|workflow.token_owner|, and |workflow.member| to the caller
  * on line 56, |commands.eml_confirm.Confirm| has an |assert member is
not None|, which causes an AssertionError. As a result, the database
transaction is rollbacked and the unsubscription is forgotten.

I suspect this |assert| comes from the time where the -confirm command
was only used for subscription confirmations, not unsubscription
confirmation. Removing it solves the problem.

I think this is important and simple enough to fix it for 3.1.

—
Reply to this email directly or view it on GitLab
.
You're receiving this email because of your account on gitlab.com. If
you'd like to receive fewer emails, you can unsubscribe

from this thread or adjust your notification settings.
{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View
Issue","url":"https://gitlab.com/mailman/mailman/issues/310"}}


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9