Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Weird Console Errors when expanding an Element in the tree-list #67

Open
michaelkleinhenz opened this issue Apr 6, 2017 · 1 comment
Assignees

Comments

@michaelkleinhenz
Copy link
Contributor

When I expand an entry from the tree list, the console shows:

WARNING: sanitizing unsafe URL value null&s=23 (see http://g.co/ng/security#xss)
unsafe:null&s=23:1 GET unsafe:null&s=23 net::ERR_UNKNOWN_URL_SCHEME

..before actually calling getChildren().

@dlabrecq
Copy link
Collaborator

dlabrecq commented Apr 7, 2017

I'm not able to reproduce this with the ngx-widgets demo or the angular-tree-component demo here:
https://angular2-tree.readme.io/docs

The only difference with the getChildren function is that the demo uses a binding:

getChildren: this.getChildren.bind(this)

Vs

getChildren: (node: TreeNode): any => {
return this.workItemService.getChildren(node.data);
},

If you can provide details regarding how to create a work item with children in planner, I'm happy to take a look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants