[Nuxeo-tickets] Re: [Nuxeo Repository] #1701: Crash when reindexing the whole CPSLuceneCatalog

Nuxeo Repository trac at nuxeo.com
Mon Jul 17 19:18:29 CEST 2006


#1701: Crash when reindexing the whole CPSLuceneCatalog
---------------------+------------------------------------------------------
 Reporter:  ogrisel  |        Owner:  janguenot
     Type:  defect   |       Status:  new      
 Priority:  P3       |    Milestone:  CPS 3.4.2
Component:  Lucene   |      Version:  TRUNK    
 Severity:  major    |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by ogrisel):

 The following seems to fix the pbm, but I'm not sure what's really wanted:

 {{{
 Index: catalog.py
 ===================================================================
 --- catalog.py  (révision 47137)
 +++ catalog.py  (copie de travail)
 @@ -304,9 +304,9 @@

          # We reindex a normal proxy.
          had_languages = []
 +        uid_view = uid + '/' + cpsutils.KEYWORD_VIEW_LANGUAGE
          if self.multilanguage_support:
              # Find what languages are in the catalog for this proxy
 -            uid_view = uid + '/' + cpsutils.KEYWORD_VIEW_LANGUAGE
              for brain in self.unrestrictedSearchResults(path=uid_view):
                  path = brain.getPath()
                  had_languages.append(path[path.rindex('/')+1:])
 }}}

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1701>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.