Changeset 1027

Show
Ignore:
Timestamp:
12/12/07 08:37:13
Author:
piv
Message:

fixed bug: broken backup import of zexps in plone 3.0

Files:

Legend:

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

    r1024 r1027  
    116116    # Get temp folder-object 
    117117    if temp_id not in portal_objects: 
    118         portal.invokeFactory('Folder', id=temp_id) 
     118        portal.invokeFactory('Large Plone Folder', id=temp_id) 
    119119        print >> import_out, "! Created '%%s' backup directory with same-ids " \ 
    120120                             "objects from portal root." %% temp_id 
  • qPloneSkinDump/branches/plone_3.0/skins/qploneskindump/qploneskindump_config.cpt

    r999 r1027  
    334334            <fieldset id="fieldset-resources" 
    335335                      tal:define="isFirst python:not request.get('dump_registries', None); 
    336                                   checked_css python:test(isFirst, 'checked', test(request.has_key('DumpCSSRegistry'), 'checked', nothing)); 
    337                                   checked_js python:test(isFirst, 'checked', test(request.has_key('DumpJSRegistry'), 'checked', nothing));"> 
     336                                  checked_css python:test(isFirst, 'checked', test(request.has_key('DumpCSSRegistry'), 'checked', None)); 
     337                                  checked_js python:test(isFirst, 'checked', test(request.has_key('DumpJSRegistry'), 'checked', None));"> 
    338338                <legend id="fieldsetlegend-resources" class="DoesExportResources"> 
    339339                    <label for="DoesExportResources" 
     
    356356                           type="checkbox" 
    357357                           name="DumpCSSRegistry" 
     358                           id="DumpCSSRegistry" 
    358359                           value="0" 
    359360                           tal:attributes="checked checked_css" 
    360361                           /> 
    361                     <label class="DumpCSSRegistry_title" 
     362                    <label class="DumpCSSRegistry_title" for="DumpCSSRegistry" 
    362363                          i18n:translate="label_DumpCSSRegistry">Dump portal_css registry.</label> 
    363364                </div> 
     
    368369                           type="checkbox" 
    369370                           name="DumpJSRegistry" 
     371                           id="DumpJSRegistry" 
    370372                           value="0" 
    371373                           tal:attributes="checked checked_js" 
    372374                           /> 
    373                     <label class="DumpJSRegistry_title" 
     375                    <label class="DumpJSRegistry_title" for="DumpJSRegistry" 
    374376                          i18n:translate="label_DumpJSRegistry">Dump portal_javascripts registry.</label> 
    375377                </div>