Query string for multiple opts is generated wrong

Bug #1487441 reported by Andrey Pavlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
High
Andrey Pavlov

Bug Description

api.base.get_query_string generates wrong query string if multiple opts provided.

Example:
sahara.images.list(search_opts={'tags': ['fake', '0.1']})

Expected query string:
?tags=fake&tags=0.1

Actual query string:
?tags=%5B%27fake%27%2C+%270.1%27%5D

Changed in python-saharaclient:
assignee: nobody → Andrey Pavlov (apavlov-n)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-saharaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/215595

Changed in python-saharaclient:
status: New → In Progress
Changed in python-saharaclient:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (master)

Reviewed: https://review.openstack.org/215595
Committed: https://git.openstack.org/cgit/openstack/python-saharaclient/commit/?id=44b02db5a5bd3b14684874966f4029cf1f6b5ce5
Submitter: Jenkins
Branch: master

commit 44b02db5a5bd3b14684874966f4029cf1f6b5ce5
Author: Andrey Pavlov <email address hidden>
Date: Fri Aug 21 15:03:47 2015 +0300

    Fixing query string for multiple opts

    Change-Id: I0116b4adb0dcd74a41cda8a1de706c499fc8f8fb
    Closes-bug: #1487441

Changed in python-saharaclient:
status: In Progress → Fix Committed
Changed in python-saharaclient:
milestone: none → 0.11.0
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.