Thomas Waldmann  committed a3e599d

add a comment to the stores backend about deserialization

  • Participants
  • Parent commits 490222d
  • Branches storage-ng

Comments (0)

Files changed (1)

File MoinMoin/storage/backends/

             dataid = meta[DATAID]
             # we will just asume stuff is correct if you pass it with a data id
             if dataid not in self.data_store:
+                # XXX issue: if we do not store if we already have the dataid in the store,
+                # XXX deserialization does not work as the fpos does not advance to the next record,
+                # XXX because we do not read from the source file. Remove the check?
                 self.data_store[dataid] = data
         # if something goes wrong below, the data shall be purged by a garbage collection
         metaid = self._store_meta(meta)