license changes made over the API do not generate emails
Bug #953246 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
When users change project licenses via the API, the user is not informed of Lp licensing rules. The code to send the email is in the view code. It could be in the model and should be initiated by a license change event.
Related branches
lp:~sinzui/launchpad/entitlement-2
- Benji York (community): Approve (code)
-
Diff: 685 lines (+309/-189)9 files modifiedlib/lp/registry/browser/product.py (+0/-82)
lib/lp/registry/browser/tests/test_product.py (+0/-87)
lib/lp/registry/configure.zcml (+1/-1)
lib/lp/registry/model/product.py (+2/-0)
lib/lp/registry/stories/product/xx-product-index.txt (+2/-0)
lib/lp/registry/subscribers.py (+106/-5)
lib/lp/registry/tests/test_product.py (+33/-3)
lib/lp/registry/tests/test_subscribers.py (+152/-0)
lib/lp/testing/factory.py (+13/-11)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r14953 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 14953>.