dataProcessor : too much recursion?

Hello from munich,

i just updated my project to 3.0 and all my dataProcessors create strange errors.

first , my code:

  		var cDSVW= createWindow("Einstellungen",false,"080.png",false,false,false,900,500,"test");
  		DSVl = cDSVW.attachLayout("2U","layout");
  		var DSVg=DSVl.cells("b").attachGrid();
  		var DSVt=DSVl.cells("a").attachTree();

  		DSVl.cells("b").setText("Konfiguration");
  		DSVl.cells("a").setText("Bereiche");
  		DSVl.cells("a").setWidth(250);
  		
   		DSVt.setImagePath("dhtmlx/imgs/");
   		DSVt.setXMLAutoLoading("handler/loadPVST.php.handler");
		DSVt.loadXML("handler/loadPVST.php.handler");

  		
   		DSVg.setImagePath("dhtmlx/imgs/");
   		DSVg.setIconsPath("icons/fugue_16/");
   		DSVg.enableSmartRendering(true);
		DSVg.enableResizing("false,true,true,false");
		DSVg.init();
   		
   		DSVd = new dataProcessor("handler/loadPVS.php.handler");
   		DSVd.init(DSVg);  //<--- here occurs the Error

still realy simple…but now everytime the dataProcessor initialize following happen:

“on line 1920 (dhtmlx.js) : too much recursion.”
after some checks with Firebug, it seems that the init function of the dataProcessor everytime called again.

okay, where is my mistake? :smiley:

Best regards,
Inqui

Okay forget it…
i found the Problem.

For everyone who has the same error/problem:

here is the solution:

Don´t include the old “connector.js” if you compiled this into your dhtmlx (with the libCompiler)…

Yep, same actual for dataprocessor.js - if you had compiled it in the dhtmlx.js, you need not include it the second time. ( default dhtmlx.js doesn’t contain dataprocessor of connector, but libCompiler allows to compile them in single js file )