Shortlist hardlimit exceeded on Language admin page

Bug #553093 reported by Jeroen T. Vermeulen
6
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.snapshot import doNotSnapshot
...
    exported(
            doNotSnapshot(
                Collection

Related branches

Changed in rosetta:
assignee: Jeroen T. Vermeulen (jtv) → Данило Шеган (danilo)
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in rosetta:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

On edge I was able to admin the Spanish page today, which was where we were having this problem. So qa-ok.

tags: added: qa-ok
removed: qa-needstesting
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.