[silva-dev] problems with metadata

Andy Altepeter aaltepet at bethel.edu
Mon Sep 26 22:11:49 CEST 2005


Hey!

I'm doing some zcatalog queries on metadata, in Silva-1.3,SilvaMetadata 0.10, 
Zope 2.7.5. I think I've found two problems with the reworked metadata tab.

1)  It appears that in Silva/views/edit/save_metadata.py, the 
binding.setValuesFromRequest doesn't pass along reindex=1, as the old script 
did.  
2) Even after adding reindex=1, the object isn't reindexed in the catalog upon 
metadata save.  Downgrading to Silva-1.2.1/SilvaMetadata 0.8, saving metadata 
reindexes the object.
3) Following the execution path, the method setValuesFromRequest doesn't pass 
the variable reindex to self._setData

However, even after passing reindex to self._setData, and verifying that 
_setData was reindexing the object, the catalog still wasn't actually 
updated.

Any ideas what is going on?  

Thanks,
Andy



More information about the silva-dev mailing list