Adit Ranadive wrote at 2007-2-7 14:10 -0500:
> ...
>Im trying to read from the data.fs file plone product information like home
>attributes.
>Im doing this via ZEO using app.Control_Panel.Products.getObjectItems()
>This returns to me a set of (object ids, objects). Using the object I change 
>the
>home attribute.
>When I restart the script the home attribute is the same as it was before. So
>the change did not take place in the database.
>Is there any way to check back in the retrieved object from data.fs?

I see too possibilities:

  1. You forgot the "import transaction; transaction.commit()"
     to make your changes persistent

  2. The objects in "Control_Panel.Products" can be modified
     during startup for file systems based objects.



-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to