Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST vocabulary information returns badly formatted languages #516

Closed
osma opened this issue May 12, 2016 · 0 comments
Closed

REST vocabulary information returns badly formatted languages #516

osma opened this issue May 12, 2016 · 0 comments

Comments

@osma
Copy link
Member

osma commented May 12, 2016

At which URL did you encounter the problem?

http://localhost/Skosmos/rest/v1/yso/

What steps will reproduce the problem?

  1. call the REST vocabulary information method for a vocabulary with many languages

What is the expected output? What do you see instead?

Expected to get a list of language tags, e.g.

"languages": ["fi","sv","en"]

Instead getting

"languages": {
    "englanti": "en",
    "ruotsi": "sv",
    "suomi": "fi"
},

This still worked in Skosmos 1.0 but was broken starting from 1.1

@osma osma added this to the 1.7 milestone May 12, 2016
henriyli pushed a commit that referenced this issue May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant