Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix i18n API encoding#4505

Merged
amercader merged 2 commits into
ckan:masterfrom
bzar:patch-1
Oct 18, 2018
Merged

Fix i18n API encoding#4505
amercader merged 2 commits into
ckan:masterfrom
bzar:patch-1

Conversation

@bzar
Copy link
Copy Markdown
Contributor

@bzar bzar commented Oct 17, 2018

Fixes #4504

Proposed fixes:

  • Make i18n_js_translations call _finish_ok with an object response data like all the others
  • Fix _finish and _finish_ok documentation to reflect the expected response_data type for "json" content_type

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

bzar and others added 2 commits October 17, 2018 12:07
- Make `i18n_js_translations` call `_finish_ok` with an object response data like all the others
- Fix `_finish` and `_finish_ok` documentation to reflect the expected `response_data` type for "json" `content_type`
Split long documentation lines
@amercader amercader self-assigned this Oct 18, 2018
@amercader amercader merged commit 70128fb into ckan:master Oct 18, 2018
@amercader
Copy link
Copy Markdown
Member

Thanks @bzar!

@tino097
Copy link
Copy Markdown
Member

tino097 commented Oct 26, 2018

@amercader i've checked, this dont need to be backported to 2.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

i18n API returns JSON-encoded JSON

3 participants