06-12-2013 10:55 AM
Hi,
I have doc types B and C, both deriving from A (A derives from Document).
CoreSession.getChildren() API taking on input a type name, a Filter etc.. doesn't seem to work if I make a get call for all A-type children: no objects returned. Putting a concrete type instead (for example, B) returns all B-type children.
No errors in the log (I haven't checked for debug traces).
Is it a known limitation or issue? If not, can somebody from Nuxeo team please check if it's reproducible? What can I do otherwise?
06-14-2013 11:08 AM
Normal :
Hope this helps
06-13-2013 12:42 PM
can someone from nuxeo state the expected behavior? May be my usage of the method is wrong.
06-14-2013 11:08 AM
Normal :
Hope this helps
06-19-2013 12:20 PM
The getChildren
APIs only match exact types, and do not use the subtype hierarchy.
Also, the use of the getChildren
APIs is discouraged because they do not scale. As mentioned by @bjalon, you should use a query, which provides ways to do batching.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.