Shortlist hardlimit exceeded on Language admin page
Bug #553093 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Данило Шеган |
Bug Description
dpm got an oops from an exceeded hard limit on a shortlist while posting to the Language page for Spanish.
OOPS-1550O2497
Curtis remarks:
I think the issue is in the interface, not shortlist. Snapshot is doing
a deep copy of the the Language, and the linked objects. This inherently
wrong in many cases where the linked objects are a list that could not
have been modified by the user...we should only snapshot the object
being changed, not the ancillary objects.
You can address this by annotating the interface:
from lazr.lifecycle.
...
exported(
Related branches
lp:~danilo/launchpad/bug-553093
Merged
into
lp:launchpad
- Michael Nelson (community): Approve (code ui)
-
Diff: 172 lines (+79/-33)5 files modifiedlib/lp/services/worlddata/doc/language.txt (+33/-1)
lib/lp/services/worlddata/interfaces/language.py (+3/-2)
lib/lp/services/worlddata/tests/test_doc.py (+12/-1)
lib/lp/services/worlddata/tests/test_language.py (+21/-0)
lib/lp/translations/templates/language-index.pt (+10/-29)
Changed in rosetta: | |
assignee: | Jeroen T. Vermeulen (jtv) → Данило Шеган (danilo) |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r10720 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10720>