Re: [Zope-dev] nasty persistence problem

2001-10-15 Thread Michel Pelletier

Tim McLaughlin wrote:
 
 Thanks Chris, I'll hold on to that for a rainier day.  I just worked
 this one out in a very roundabout way ;)
 
 A product had gotten copied in that moved a Product class from one
 module to another even though everything else was the same.  It seems
 that ZODB doesn't like that. 

It sure doesn't.  When it pickles an object, it says, here's a big
binary blob that is the state of the object.  The code for the object
can be found in Products.MyProduct.MyModule.MyClass.  When you move the
code, ZODB understandably barfs.

If I remember correctly, there is a way to make an alias in an old
location that points to a new location when you *must* move the code for
whatever reason.  I forget how it works though...

-Michel

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] (no subject)

2001-10-15 Thread smirtsch

One question

Iwant to search ZCatalog catlog read our search dynamic

i want a search option where i could find diferent parameter,
istead of the parameter 60,  I need one for all. 

And i want to given Foulder the parameter name and Value from the search
parameter

 


 dtml-let QUERY_GOAL=URL 
  div align=centerdtml-in LinguaKatalog(!DTML-VAR
SEARCHOPTION!) size=4 start=query_start dtml-if sequence-start 
dtml-if previous-sequence a href=dtml-var QUERY_GOALdtml-var
sequence-query
 query_start=dtml-var
 previous-sequence-start-number font face=Arial,
Helvetica, sans-serif size=1 color=#BC4A4A 
Letzten dtml-var previous-sequence-size Ergebnisse/font /a
/dtml-if previous-sequence
/dtml-if sequence-start



dtml-var autorbr



 dtml-if sequence-end
  dtml-if next-sequence a href=dtml-var QUERY_GOALdtml-var
sequence-query
query_start=dtml-var
next-sequence-start-number font face=Arial, Helvetica,
sans-serif size=1 color=#BC4A4ANächste 
dtml-var next-sequence-size Ergebnisse /font/a /dtml-if
next-sequence /dtml-if sequence-end 
dtml-elsefont face=Arial, Helvetica, sans-serif size=1
color=#33Es 
wurden keine Artikel gefunden!/font 
/dtml-in /div
/dtml-let

  




INSTEAD OF ;){'vhs':'on','autor':'Erich Kaestner'}

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )