You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made a rudimentary application which allows the user to select a node from the parent's list of Children, set its ChildrenRetrievalPolicy (in this case, to DirectOnly) and call _consumer.SendAsync(). The reason for doing this is the issue described in #39. This works fine for most nodes, however when requesting a node that contains a matrix the application throws a ConnectionLost event with the message "The provider failed to send the children for the element with the path /root/audio routing/matrix.". The node I'm referring to does work within the Ember+ Viewer application and the structure looks as following:
Seeing as this does work within Ember+ Viewer, this leads me to believe this is an issue with the Consumer class in EmberPlusSharp not being able to handle an 'empty' matrix. This is reaffirmed by the comments you placed in the Matrix code, which state that "The following code implements a heuristic, which assumes that a provider would send the direct children (if any) before sending the connections."
Seeing as I am calling 'audio routing' with DirectOnly and all its sub-nodes are set to None, the Matrix will NOT send its direct children as a result of its ChildrenRetrievalPolicy. Since this policy cannot be set to All, creating the aforementioned issue from #39, this leaves me with the issue of being unable to open a node containing a matrix.
For completeness' sake, here follows the quick mock-up I made to test this issue: EmberPlusSharpTestModule.txt
The text was updated successfully, but these errors were encountered:
I have made a rudimentary application which allows the user to select a node from the parent's list of Children, set its ChildrenRetrievalPolicy (in this case, to DirectOnly) and call _consumer.SendAsync(). The reason for doing this is the issue described in #39. This works fine for most nodes, however when requesting a node that contains a matrix the application throws a ConnectionLost event with the message "The provider failed to send the children for the element with the path /root/audio routing/matrix.". The node I'm referring to does work within the Ember+ Viewer application and the structure looks as following:
Seeing as this does work within Ember+ Viewer, this leads me to believe this is an issue with the Consumer class in EmberPlusSharp not being able to handle an 'empty' matrix. This is reaffirmed by the comments you placed in the Matrix code, which state that "The following code implements a heuristic, which assumes that a provider would send the direct children (if any) before sending the connections."
Seeing as I am calling 'audio routing' with DirectOnly and all its sub-nodes are set to None, the Matrix will NOT send its direct children as a result of its ChildrenRetrievalPolicy. Since this policy cannot be set to All, creating the aforementioned issue from #39, this leaves me with the issue of being unable to open a node containing a matrix.
For completeness' sake, here follows the quick mock-up I made to test this issue:
EmberPlusSharpTestModule.txt
The text was updated successfully, but these errors were encountered: