Changeset 1172

Show
Ignore:
Timestamp:
07/22/08 13:47:06
Author:
mylan
Message:

Fixed bug with erasing imported objects on uninstallation SkinProduct?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneSkinDump/branches/plone_3.0/HISTORY.txt

    r1171 r1172  
    1 qPloneSkinDump 0.8.8 
     1qPloneSkinDump 0.8.9 
    22 
     3    - fixed bug with erasing imported with objects on 
     4      on unistallation SkinProduct. 
    35    - fixed bug of exporting objects into SkinProduct with  
    46      'backup' policy 
  • qPloneSkinDump/branches/plone_3.0/skin_template/Extensions/Install.py

    r1096 r1172  
    44from Products.%(product_name)s.config import GS_AFTERINSTALL_PROFILE 
    55from Products.%(product_name)s.config import GS_UNINSTALL_PROFILE 
     6from Products.%(product_name)s.config import GS_AFTERINSTALL_STEPS 
     7 
    68 
    79def install(self, reinstall=False): 
     
    1618    """ 
    1719    ps = getToolByName(self, 'portal_setup') 
    18     (ps.aq_base).__of__(self).runAllImportStepsFromProfile(GS_AFTERINSTALL_PROFILE) 
     20    for step in GS_AFTERINSTALL_STEPS: 
     21        (ps.aq_base).__of__(self).runImportStepFromProfile( 
     22             profile_id=GS_AFTERINSTALL_PROFILE, step_id = step, 
     23             run_dependencies=False) 
    1924 
    2025def uninstall(self, reinstall=False): 
  • qPloneSkinDump/branches/plone_3.0/skin_template/config.py

    r1124 r1172  
    116116GS_AFTERINSTALL_PROFILE = "profile-Products.%(product_name)s:installafter" 
    117117GS_UNINSTALL_PROFILE    = "profile-Products.%(product_name)s:uninstall" 
     118GS_AFTERINSTALL_STEPS   = ["%(skin_name)s_zexps", "%(skin_name)s_customviews", 
     119                           "%(skin_name)s_portlets", "%(skin_name)s_various"] 
  • qPloneSkinDump/branches/plone_3.0/version.txt

    r1171 r1172  
    1 0.8.8 
     10.8.9