-
Notifications
You must be signed in to change notification settings - Fork 2
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
includeMappings/includeInverseMappings for a collection's concept should use the collection's scope #823
Comments
To discuss on next week's Dev Call |
…s for a collection's concept will now use the collection's scope
Just wanted to be sure that this fix does not allow concepts to be circulating that are labeled/mapped to CIEL but have been changed (without that change clearly identified as a change in the data). The follow-on work to capture and display the fact that it has changed can be later, but the data shouldn't be out there wrongly tagged as CIEL if possible |
I was investigating this issue...
Based on this ticket, I was expecting an API request to concept 10 within my test collection with https://api.staging.openconceptlab.org/users/burke/collections/test/concepts/?includeMappings=true Click for response (notice 4 mappings, no NARROWER-THAN mapping)
as compared to the original CIEL concept here: https://api.staging.openconceptlab.org/orgs/CIEL/sources/CIEL/concepts/10/?includeMappings=true Click for response (notice 5 mappings, including NARROWER-THAN mapping)
@paynejd is the issue only with dynamic references?
@askanter the customized concept is fetched from |
@bmamlin I think that we discovered that the feature had already been deployed to staging at the time that you were testing, which means that you verified that the new behavior is as expected. I believe that we can close this out |
When requesting a concept from a collection, the
includeMappings
andincludeInverseMappings
parameters return the list of mappings for the concept from its source, rather than the relevant mappings from within the collection.For example: This request returns the same results as if requesting the mappings for this concept from CIEL.
cc @bmamlin
The text was updated successfully, but these errors were encountered: