Elements removed from learning in XML import

From SuperMemopedia
Jump to navigation Jump to search

Importing XML data might remove some elements from the learning process

Problem

If I import my XML data *before* I do any repetitions for that day, the XML imports fine. If I do repetitions (say, on PocketPC, but I whether it is SuperMemo CE or SuperMemo 2004 does not matter), then export that data and reimport in SuperMemo 2004,some of the items will not be marked as memorized, and will, in fact, have vanished from the learning process. I presume that the items that have vanished are the ones that were repeated that day. Again, if I import before doing any repetitions, everything seems to work fine

Analysis

if I import my XML data *before* I do any repetitions for that day, the XML imports fine

The whole XML exchange process is designed so that it requires that you import BEFORE making repetitions; your learning should always proceed on a single platform and be transferred in need. If you import AFTER repetitions, you are runing TWO LEARNING PROCESSES (one stored in the XML file and one in your collection to which you later import that file). This is not how XML data transfer should be used

If I do repetitions (say, on PocketPC, but I whether it is SuperMemo CE or SuperMemo 2004 does not matter), then export that data and reimport in SuperMemo 2004, some of the items will not be marked as memorized, and will, in fact, have vanished from the learning process

This sounds like correct behavior in cases where the date of removing an item from the learning process was newer/higher/later than the date of adding the items to the process or making further repetitions

If you document similar cases, you could do the following:

  1. export the [collection you import to] as XML
  2. extract the troublesome element (copy & paste)
  3. extract the same element in the [imported XML file]
  4. send both XML element data for analysis (to bug AT supermemo DOT com)

I presume that the items that have vanished are the ones that were repeated that day

If you repeat item X today, there should be no way XML import remove it from the learning process. If the imported item is not memorized (while the "resident" item is), you should only get a message "Element no longer memorized"