Hi,

I'm investigating bug 823473: AttributeError getting archive
subscriptions for a given person

The attribute error happens in ArchiveSubscriptionSet._getBySubscriber().

The None is the store, results of:

store = Store.of(subscriber)

There is no way that subscriber can be None here as it's passed in by
the caller, and the call site has an explicit check against the person
not existing.

So how can Store.of(subscriber) returns None when it was fetched from
the DB?

If you look at the OOPS (2045DV1) SQL logs, you'll see that the two last
statements are the retrieving of the person and then a mysterious:

SQL-nostore     Transaction completed,
                status: Active

What does that mean?

-- 
Francis J. Lacoste
francis.laco...@canonical.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : launchpad-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to