-
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
Unable to bulk add concepts or mappings to collection #1018
Comments
…rsion to not go through API
Thanks @snyaggarwal. I tried this for a |
A day later and the |
It turns out a deployment likely aborted the prior attempt. A repeated request to build the collection worked. Now trying to get it to show up in the Dictionary Manager. Using my $ http "$OCL_API_URL/user/orgs/collections/" authorization:"token $OCL_API_TOKEN" \
| jq -r .[].id
PIH-temp
pih-temp2
COVID-19-Starter-Set I can see the $ http "$OCL_API_URL/orgs/PIH/collections/PIH-temp/" authorization:"token $OCL_API_TOKEN" \
| jq -r .custom_validation_schema
OpenMRS but when I ask for my orgs’ collections that use the OpenMRS schema, I see my own personal collections, but not the $ http "$OCL_API_URL/user/orgs/collections/?limit=20&page=1&verbose=true&q=&customValidationSchema=OpenMRS" \
authorization:"token $OCL_API_TOKEN" | jq -r .[].id
test
test2 I switched the custom validation schema on the |
@bmamlin I think that what you're seeing is the same bug reported as #988. Presumably you'd be able to browse the source here: https://openmrs.staging.openconceptlab.org/orgs/PIH/sources/PIH-temp/ and the collection here: https://openmrs.staging.openconceptlab.org/orgs/PIH/collections/PIH-temp/. |
…result scope fix
@bmamlin This can be closed now? |
Yes, @snyaggarwal. Creating a collection works now. I'll close this issue. |
The API documentation suggests this might work to add all
PIH-temp
concepts to thePIH-temp
collection; however, it's not working as expected (on staging):this returns
202 Accepted
with the result '[]`. The references for the PIH-temp collection remains empty.I've tried several variations of the request and looked at the code, but haven't found a working solution.
The text was updated successfully, but these errors were encountered: