ValidPersonOrTeamVocabulary preloads all IRC nicks into everybody

Bug #796889 reported by William Grant
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
William Grant

Bug Description

ValidPersonOrTeamVocabulary's pre_iter_hook preloads badly:

            nicks = bulk.load_referencing(IrcID, persons, ['personID'])
            nicks_by_person = dict((nick.personID, nicks)
                for nick in nicks)

This attaches all found IRC nicks to every person found with an IRC nick.

Flagged for now, so not a huge deal.

Related branches

William Grant (wgrant)
tags: added: person-picker
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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