Multiple ws.op values in a request cause a TypeError

Bug #842917 reported by Benji York on 2011-09-06
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Critical
Benji York
lazr.restful
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.

Related branches

Benji York (benji) on 2011-09-06
Changed in launchpad:
assignee: nobody → Benji York (benji)
status: New → In Progress
importance: Undecided → High
importance: High → Critical
Benji York (benji) on 2011-09-08
Changed in lazr.restful:
assignee: nobody → Benji York (benji)
status: New → In Progress
Benji York (benji) on 2011-09-08
Changed in lazr.restful:
status: In Progress → Fix Released
importance: Undecided → High
tags: added: api oops
description: updated
Benji York (benji) on 2011-09-27
Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers