Changeset 1171

Show
Ignore:
Timestamp:
07/22/08 08:20:33
Author:
mylan
Message:

Fixed bug of exporting objects into SkinProduct? with 'backup' policy

Files:

Legend:

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

    r1170 r1171  
    1 qPloneSkinDump 0.8.7 
     1qPloneSkinDump 0.8.8 
    22 
    3     - fixed bug with importing portlet for single selected content object 
     3    - fixed bug of exporting objects into SkinProduct with  
     4      'backup' policy 
     5    - fixed bug with importing portlet for single selected  
     6      content object 
    47 
    58 
  • qPloneSkinDump/branches/plone_3.0/skin_template/utils.py

    r1115 r1171  
    117117    # Get temp folder-object 
    118118    if temp_id not in portal_objects: 
     119        # Temporary allow implicitly adding Large Plone Folder 
     120        types_tool = getToolByName(portal, 'portal_types') 
     121        lpf_fti = types_tool['Large Plone Folder'] 
     122        lpf_global_setting = lpf_fti.global_allow 
     123        lpf_fti.global_allow = 1 
     124 
    119125        portal.invokeFactory('Large Plone Folder', id=temp_id) 
     126 
     127        lpf_fti.global_allow = lpf_global_setting 
    120128        print >> import_out, "! Created '%%s' backup directory with same-ids " \ 
    121129                             "objects from portal root." %% temp_id 
  • qPloneSkinDump/branches/plone_3.0/version.txt

    r1170 r1171  
    1 0.8.7 
     10.8.8