{"action":"closed","issue":{"url":"https://api.github.com/repos/IOT-DSA/sdk-dslink-dotnet/issues/28","repository_url":"https://api.github.com/repos/IOT-DSA/sdk-dslink-dotnet","labels_url":"https://api.github.com/repos/IOT-DSA/sdk-dslink-dotnet/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/IOT-DSA/sdk-dslink-dotnet/issues/28/comments","events_url":"https://api.github.com/repos/IOT-DSA/sdk-dslink-dotnet/issues/28/events","html_url":"https://github.com/IOT-DSA/sdk-dslink-dotnet/issues/28","id":347059718,"node_id":"MDU6SXNzdWUzNDcwNTk3MTg=","number":28,"title":"Node::InitializeClass() call to ResetNode() always occurs","user":{"login":"mbreissi","id":15672247,"node_id":"MDQ6VXNlcjE1NjcyMjQ3","avatar_url":"https://avatars1.githubusercontent.com/u/15672247?v=4","gravatar_id":"","url":"https://api.github.com/users/mbreissi","html_url":"https://github.com/mbreissi","followers_url":"https://api.github.com/users/mbreissi/followers","following_url":"https://api.github.com/users/mbreissi/following{/other_user}","gists_url":"https://api.github.com/users/mbreissi/gists{/gist_id}","starred_url":"https://api.github.com/users/mbreissi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbreissi/subscriptions","organizations_url":"https://api.github.com/users/mbreissi/orgs","repos_url":"https://api.github.com/users/mbreissi/repos","events_url":"https://api.github.com/users/mbreissi/events{/privacy}","received_events_url":"https://api.github.com/users/mbreissi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-02T15:20:20Z","updated_at":"2018-08-02T19:46:06Z","closed_at":"2018-08-02T19:46:06Z","author_association":"NONE","body":"ResetNode() node always occurs preventing nodes from being properly created.  For example, the following code:\r\n\r\n```\r\n                Responder.SuperRoot.CreateChild(name, LinkConstants.NodeProfile.PI_LINK_CONNECTION.ToString())\r\n                    .SetDisplayName(name)\r\n                    .SetConfig(LinkConstants.Connection.CONFIG_HOST, new Value(host))\r\n                    .SetConfig(LinkConstants.Connection.CONFIG_PORT, new Value(port))\r\n                    .BuildNode();\r\n```\r\nwould not contain the appropriate configs after being called due to ResetNode() getting called in InitializeClass(), which is called from NodeFactory::BuildNode().  Basically, the call to ResetNode() prevents NodeFactory from working correctly.  There is a guard around ResetNode(), but I suspect it is not functioning as intended. "}}
{"actor":{"display_login":"logangorence"}}