Fixed an issue while creating export job. Fixes #3856

This commit is contained in:
Aditya Toshniwal 2019-01-08 13:02:29 +05:30 committed by Akshay Joshi
parent 11870006c3
commit 3c7742f3b2
2 changed files with 3 additions and 4 deletions

View File

@ -38,4 +38,5 @@ Bug fixes
| `Bug #3809 <https://redmine.postgresql.org/issues/3809>`_ - Ensure auto complete should works when first identifier in the FROM clause needs quoting. | `Bug #3809 <https://redmine.postgresql.org/issues/3809>`_ - Ensure auto complete should works when first identifier in the FROM clause needs quoting.
| `Bug #3810 <https://redmine.postgresql.org/issues/3810>`_ - Ensure auto complete should works for columns from a schema-qualified table. | `Bug #3810 <https://redmine.postgresql.org/issues/3810>`_ - Ensure auto complete should works for columns from a schema-qualified table.
| `Bug #3821 <https://redmine.postgresql.org/issues/3821>`_ - Ensure identifiers are properly displayed in the plan viewer. | `Bug #3821 <https://redmine.postgresql.org/issues/3821>`_ - Ensure identifiers are properly displayed in the plan viewer.
| `Bug #3830 <https://redmine.postgresql.org/issues/3830>`_ - Make the setup process more robust against aborted executions. | `Bug #3830 <https://redmine.postgresql.org/issues/3830>`_ - Make the setup process more robust against aborted executions.
| `Bug #3856 <https://redmine.postgresql.org/issues/3856>`_ - Fixed an issue while creating export job.

View File

@ -206,9 +206,7 @@ def create_import_export_job(sid):
None None
""" """
if request.form: if request.form:
# Convert ImmutableDict to dict data = json.loads(request.form['data'], encoding='utf-8')
data = dict(request.form)
data = json.loads(data['data'][0], encoding='utf-8')
else: else:
data = json.loads(request.data, encoding='utf-8') data = json.loads(request.data, encoding='utf-8')