6

Closed

Partial connection? Connect Box doesn't go away

description

When I put in the connection login info, the Editor will load the drop-down with XSLTs, but the "Connect to Umbraco instance" dialog still pops back up and clicking "OK" doesn't make it go away. If I click "Cancel", I can view and edit the XSLTs and the contents of the XML tab, but there is nothing in the "Current Page" drop-down, and the transfrom button doesn't do anything.
 
I am using umbraco v3.02, and the URL is http://[site.com]/umbraco/webservices/api/FileService.asmx
Closed Jan 2, 2008 at 3:51 PM by KrisJ

comments

KrisJ wrote Dec 26, 2007 at 8:17 PM

Same here... Trying to solve it but no luck so far.

KrisJ wrote Dec 27, 2007 at 11:27 AM

The reason for this problem lies in the way that XSLT editor parses the content cache (umbraco.config in /data) xml file.

On databinding the liscontrol for xml, TraverseXML fils a dictionary with data from the xml, using the name of the node as the key and the id as the value. This can cause an exception because more often then not nodes have the same name. Only the id of a node is truly unique...

The handler for this exception called the connect box to appear again, thus again leading to the exception, thus an endless loop would begin.

I modified the code to use id as key and name as value and added some new exception handling.

If I would be able to get the right permissions I could update the project on codeplex :)

wrote Jan 2, 2008 at 2:38 PM

wrote Jan 2, 2008 at 3:37 PM

Connection exception handling was changed to resolve this

wrote Jan 2, 2008 at 3:51 PM

wrote Feb 12, 2013 at 8:59 PM

wrote May 14, 2013 at 7:27 AM