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

Retrieving descendants - stated versus inferred #39

Closed
mertenssander opened this issue Apr 23, 2019 · 3 comments
Closed

Retrieving descendants - stated versus inferred #39

mertenssander opened this issue Apr 23, 2019 · 3 comments
Assignees
Labels

Comments

@mertenssander
Copy link

Retrieving descendants using either the swagger ui or URL does not react to changing the requested state (inferred versus stated).
http://localhost:8080/MAIN/concepts/125589001/descendants?stated=true&offset=0&limit=10000
Results in the same descendants as:
http://localhost:8081/MAIN/concepts/125589001/descendants?stated=false&offset=0&limit=10000
Can anyone confirm this and perhaps help with a workaround?
Best regards

@kaicode
Copy link
Member

kaicode commented Apr 23, 2019

Hi @mertenssander. Thanks for getting in touch.
This is a bug in the wiring of the controllers. The search is always happening against the stated form which is not the intention here.

Please use this as a workaround:
Stated
http://localhost:8080/MAIN/concepts?statedEcl=<125589001
Inferred
http://localhost:8080/MAIN/concepts?ecl=<125589001

We will get this fixed.

@kaicode kaicode added the bug label Apr 23, 2019
@kaicode kaicode self-assigned this Apr 23, 2019
kaicode added a commit that referenced this issue Apr 23, 2019
@kaicode
Copy link
Member

kaicode commented Apr 23, 2019

Fixed in Snowstorm 2.2.3.

@mertenssander
Copy link
Author

Thank you for the quick reply and workaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants