• Arnaud Fontaine's avatar
    ZODB Components: Migrate Tools in Products.ERP5.Tool to erp5_core. · d2f87fd8
    Arnaud Fontaine authored
    Besides migrating Tools .py, this also moves the Tools themselves (portal_*):
     * Some of them were created before erp5_core being installed and this
       would not work anymore as their .py is now in erp5_core.
     * Some others were created after (via setupLastTool()) and this would not
       work neither as sub-objects may be installed by erp5_core.
    
    Add them to template_keep_path_list to prevent them from being re-created like
    ERP5Site.addERP5Tool() used to do (depend on 3180424b, 91393be2).
    
    Not migrated:
      * AlarmTool: Needed for upgrader.
      * CategoryTool, IdTool: Bootstrap.
      * TemplateTool, TrashTool: Business Template installation.
      * SolverTool: TypeProvider.
      * ContributionTool: Imported by Products.ERP5.Document.Document used in many places, will be done later.
      * NotificationTool: Imported by ERP5.Document.EmailDocument, will be done later.
    d2f87fd8
tool.erp5.UrlRegistryTool.xml 3.24 KB
<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="Tool Component" module="erp5.portal_type"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>default_reference</string> </key>
            <value> <string>UrlRegistryTool</string> </value>
        </item>
        <item>
            <key> <string>default_source_reference</string> </key>
            <value> <string>Products.ERP5.Tool.UrlRegistryTool</string> </value>
        </item>
        <item>
            <key> <string>description</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>tool.erp5.UrlRegistryTool</string> </value>
        </item>
        <item>
            <key> <string>portal_type</string> </key>
            <value> <string>Tool Component</string> </value>
        </item>
        <item>
            <key> <string>sid</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>text_content_error_message</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
        <item>
            <key> <string>text_content_warning_message</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
        <item>
            <key> <string>version</string> </key>
            <value> <string>erp5</string> </value>
        </item>
        <item>
            <key> <string>workflow_history</string> </key>
            <value>
              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
  <record id="2" aka="AAAAAAAAAAI=">
    <pickle>
      <global name="PersistentMapping" module="Persistence.mapping"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>data</string> </key>
            <value>
              <dictionary>
                <item>
                    <key> <string>component_validation_workflow</string> </key>
                    <value>
                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
                    </value>
                </item>
              </dictionary>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
  <record id="3" aka="AAAAAAAAAAM=">
    <pickle>
      <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_log</string> </key>
            <value>
              <list>
                <dictionary>
                  <item>
                      <key> <string>action</string> </key>
                      <value> <string>validate</string> </value>
                  </item>
                  <item>
                      <key> <string>validation_state</string> </key>
                      <value> <string>validated</string> </value>
                  </item>
                </dictionary>
              </list>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>