Hello community, there will be a demo/check-in this Wednesday at 15:00 UTC.
I would like all parties to confirm availability and see if we can adjust the date or time if need be.
Thank you.
Hey team, clarification on something else. When I update a concept in a collection and later query for concepts in that collection, the concept that is returned here is not the latest version. Is this the expected behavior?
The original concept of collections is that they would be created using a specific version of a concept from a source. That way the user always knows what is going to be included. However, most people have been building collections using the HEAD version of the concept, which theoretically should always bring in the latest version. Not sure why there is a difference in the query method, however.
The natural behavior of OCL collections on the back end is that when you add a concept to the collection, this really creates a reference to a specific version of the concept. so if the concept is edited later, the collection does not pick up the change. This is not always what the user wants, but it is the safest behavior.
In our application we want to change the behavior so that when the user edits one of their dictionary’s custom concepts then the dictionary collection is updated with the latest version of that concept. Ideally this would be handled by the back end, but there is no spare capacity to work on it now. I understand that an earlier Andela dev already implemented this functionality on the client side, although I noticed it was buggy in my last round of testing.
(Note that edits to concepts from other sources should not be picked up automatically.)
When you add the HEAD of a concept, OCL automatically resolves that to the specific concept version and adds that. It’s not currently supported to add an actual reference to a concept’s HEAD.
Hey @raff, @paynejd , we noticed that occasionally, attempting to remove a concept reference from a collection does not do this, despite an OK message being returned.
Current offending concepts on the qa server; "/users/admin/sources/553T/concepts/2c3e3972-8cc9-4c12-84bb-68d6b831e7ec/5cd1cf7a5ab3eb01a4855e30/" from 553T
and /users/admin/sources/520T2/concepts/b01502a1-e3c2-4f47-a479-50b7f00e4d14/5cd2e0315ab3eb01a4856074/ from 520T2
I am looking for a CIEL concept that has multiple levels of references to use as test data for this PR.
I am also looking for a CIEL concept that has both answers and sets as mappings to use as test data for this PR. Any available data would be highly appreciated