Multiple ws.op values in a request cause a TypeError

Bug #842917 reported by Benji York
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Benji York
lazr.restful
Fix Released
High
Benji York

Bug Description

Making a request like https://api.launchpad.net/1.0/checkbox?ws.op=1&ws.op=2 causes a TypeError because the code assumes that request fields are always strings (in this case they are a sequence because there are two field values).

OOPS-2075CE4 TypeError: unhashable type: 'list'

This bug is similar to bug 810113.

Tags: api oops

Related branches

Benji York (benji)
Changed in launchpad:
assignee: nobody → Benji York (benji)
status: New → In Progress
importance: Undecided → High
importance: High → Critical
Benji York (benji)
Changed in lazr.restful:
assignee: nobody → Benji York (benji)
status: New → In Progress
Benji York (benji)
Changed in lazr.restful:
status: In Progress → Fix Released
importance: Undecided → High
tags: added: api oops
description: updated
Benji York (benji)
Changed in launchpad:
status: In Progress → 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.