Incompatible type change in MailingListApplication XML-RPC getMembershipInformation and reportStatus APIs

Bug #1889025 reported by William Grant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Tom Wardill

Bug Description

Commit 2290a30a ported MailingList and co. to Storm, and in the process added the standard future imports to a number of modules, including test_mailinglistapi. Probably as a consequence of the test strings changing type, the getMembershipInformation and reportStatus XML-RPC methods were changed to take team names as text strings rather than byte strings, but the corresponding callsites in lp:lp-mailman were not updated.

This causes mailing list updates to OOPS like OOPS-0000192d75399b1e7f52813e1ff8647c: AssertionError: team_name must be a text string, not <type 'str'>

Only getMembershipInformation and reportStatus are OOPSing frequently, but I don't know for sure that those are all that are affected.

Related branches

Tom Wardill (twom)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Tom Wardill (twom)
Tom Wardill (twom)
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson)
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.

Other bug subscribers

Remote bug watches

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