[ZODB-Dev] Ape storage problem

Michael Haubenwallner michael at d2m.at
Tue Jun 29 21:07:23 EDT 2004


i use Ape 0.8 with Zope2.7 and PostgreSQL 7.3

over time, when objects inside portal_skins (CMF1.4.2) are created or 
modified, other objects within portal_skins disappear atr random and are 
lost or objects show up in a prior saved version. this happened on a 
standalone Zope instance, but also with a Zeo client.

i found that poral_skins is serialized as a single object into the 
database - but i have no idea, what made the data-loss happen and how to 
resolve this problem.

my ape configuration in zope.conf is minimal:

%import Products.Ape
<ape-db content>
   <ape-storage>
     mapper-variation sql
     <ape-dbapi-connection db>
       connection-class apelib.sql.dbapi.PostgreSQLConnection
       module-name psycopg
       connect-expression connect('host=xx.xx.xx.xx dbname=xx user=xx 
password=xx')
     </ape-dbapi-connection>
   </ape-storage>
   mount-point /xx
</ape-db>

-- 
michael
http://planetzope.org



More information about the ZODB-Dev mailing list