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
Since this.path is /, the sub-nodes path will start with //, which is not a valid object path and therefore rejected by the following isObjectPathValid check.
When creating a ProxyObject at the root path, i.e.
the sub-nodes contained in the XML returned by the introspect call will not be added to the
ProxyObject
'snodes
attribute.That is because of how the sub-nodes full object path is constructed in https://github.com/dbusjs/node-dbus-next/blob/master/lib/client/proxy-object.js#L95
Since
this.path
is/
, the sub-nodes path will start with//
, which is not a valid object path and therefore rejected by the followingisObjectPathValid
check.I think this could be replaced with
since otherwise object paths can not end with '/'.
The text was updated successfully, but these errors were encountered: