Changeset 1025

Show
Ignore:
Timestamp:
12/10/07 06:06:36
Author:
mylan
Message:

correct skin_template/fixes.py - remove needless code.Problem is that QI loose REQUEST on call portal_setup profile. This lead to fails, particularly in reindexing some REQUEST-related indexes ('is_default_page').

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneSkinDump/branches/plone_3.0/skin_template/fixes.py

    r1024 r1025  
    1515    ob.reindexObject() 
    1616 
    17 def reindex_is_default_page_index(context): 
    18     ''' Fix issue of absence imported objects in portal tabs. 
    19         Actually problem is with 'is_default_page' index. 
    20         XXX Reindexing object - NOT fix this problem 
    21     ''' 
    22     portal_catalog.manage_reindexIndex(ids=['is_default_page',],REQUEST=context.REQUEST) 
    23  
    2417def fix_all(ob): 
    2518    """ Recursive function for perform registered 
     
    3225 
    3326perobject_actions = [fix_archivest, fix_catalog] 
    34 global_after_actions = [reindex_is_default_page_index,] 
    3527 
    3628def fix(context): 
     
    4234 
    4335    fix_all(context) 
    44     [a(context) for a in global_after_actions]