Tim Martin
posted this on January 20, 2010 08:08 pm
What exactly is the significance of IsThereDirtyData and the other Control Commands such as GetXmlForDirty Data that are called after Commit?
This question refers to a couple of lines from the "control" elements in our debug logs. By default in Test Track, this level of debugging is turned off, but it can be easily enabled. If it's on, it looks something like this...

The two elements (IsThereDirtyData and GetXmlForDirtyData) relate specifically to our javascript architecture. Basically, we're managing this full set of data in the browser. Periodically, we need to be sure this data is making it down from the browser to the server, where it's persisted in a relational database (typically).
So, if you see these elements in the control debug logs, know that you're seeing the SCORM Engine's efforts to...