DhtmlXTree - Loading XML: Requested item still in progress

Hello,

My company bought your wonderful library a year ago. Yesterday we received a problem from a client when loading the xml for a tree. This is the message that it gives, we don’t really know why could this happen.

First alert message:

Error type: getItem

Description: Requested item still in parsing process.



Second alert message:

Error type: getItem

Description: The item XXXXXX not operable. Seems you have non-unique IDs in tree’s XML.



I know that the problem must be that we have IDs repeated, but I have checked the XML and there aren’t.



By the way could you please tell me which is the max length that an ID could have, because IDs have more that 30 characters…



Thank you very much for your help, I appreciate it very much.



which is the max length that an ID
The length of ID limited only by javascript implementation in browser, as far as I can see it pretty safe to use IDs lesser than 256 bytes ( so far there were no situation , when tree works incorrectly because of very long ID )

>>Description: Requested item still in parsing process.
Such message can appears in two cases
a) you are using distributed parsing , and executing commands against tree element, which is in parsing process now
or
b) you are using SmartXMLParsing and have non unique IDs

If problem can be isolated in separate sample - please send it to support@dhtmlx.com