Quite the edge case... curious what you're building - once your have it working, is it something you could share/release? (unless it's NDA'd client work?)
While I don't have the answer, I'm not sure where the onus lies. The exception is coming from Courier (via its OnBeforeNodeRender event handler) ... meaning that Courier is trying to add a dictionary key that already exists (surely a simple exists/contains check would resolve this matter).
Not sure if there is anything we can do in uComponents to resolve this. Although if there is anything we can do, then do let us know.
Creating 2 MNTP on dashboard causes Exception
Hi
I've got 2 MNTP controls on a dashboard, to bulk copy / move content like so:
These each make a request to TreeDataService like so:
http://localhost:18438/umbraco/webservices/TreeDataService.ashx?rnd=d69b56eab70d4630be3119d671d33178&id=-1&treeType=FilteredContentTree&contextMenu=false&isDialog=true&dialogMode=id&nodeKey=1199&rnd2=70.2
http://localhost:18438/umbraco/webservices/TreeDataService.ashx?rnd=7ddaf9e953d14666b88c72e3ab18bdb6&id=-1&treeType=FilteredContentTree&contextMenu=false&isDialog=true&dialogMode=id&nodeKey=2060&rnd2=71.2
BUT if I request the failed TreeDataService.ashx AGAIN it works, (I assume because of a time related bug)
Any ideas? should I report a bug?
Have you tried this wiki? http://our.umbraco.org/wiki/reference/code-snippets/use-mntp-on-a-usercontrol
It's a different approach, but I've used it before and it works :).
Jeroen
Hi Murray,
Quite the edge case... curious what you're building - once your have it working, is it something you could share/release? (unless it's NDA'd client work?)
While I don't have the answer, I'm not sure where the onus lies. The exception is coming from Courier (via its OnBeforeNodeRender event handler) ... meaning that Courier is trying to add a dictionary key that already exists (surely a simple exists/contains check would resolve this matter).
Not sure if there is anything we can do in uComponents to resolve this. Although if there is anything we can do, then do let us know.
Cheers, Lee.
Hi,
This was on the back burner, but after upgrading to umbraco 4.7.1.1 and uComponents 3.0.2 the issues I've described above have gone away.
As to what I'm building: It allows you to move one or many nodes to another location, or copy one or many nodes to one or many locations.
In this case it's a multi-region site where they may, for example, select a news story to be copied to one or two other regions where it's relevant.
Cheers, Murray.
is working on a reply...