• Julien Muchembled's avatar
    Fix and speed up XML export of objects · 91172319
    Julien Muchembled authored
    - Fix random failures in testBusinessTemplate on Zope 2.12
    - Do not sort record per 'id' anymore because it was a noop:
      first value returned by reorderPickle is not the object but its state,
      so "getattr(o, 'id', None)" was always None
    - By reducing the number of calls to reorderedPickle/XMLObject, exportXML
      function is now much faster.
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40325 20353a03-c40f-0410-a6d1-a30d3c3de9de
    91172319
ppml.py 22.5 KB