From d903eac23fbde1f9c00f87f00784162f44a88f5e Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 5 May 2009 12:33:32 +0000
Subject: [PATCH] Drop erp5_dms_mysql_innodb_catalog as the only used
 scriptable key was moved to erp5_mysql_innodb_catalog and nothing depends on
 this BT anymore.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26807 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...g_makeAdvancedSearchQuery.catalog_keys.xml |   2 -
 .../SQLCatalog_makeAdvancedSearchQuery.xml    | 265 ------------------
 ...alog_makeQuickSearchQuery.catalog_keys.xml |   2 -
 .../SQLCatalog_makeQuickSearchQuery.xml       | 133 ---------
 .../bt/categories_list                        |   0
 .../bt/change_log                             |  35 ---
 bt5/erp5_dms_mysql_innodb_catalog/bt/comment  |   0
 .../bt/copyright_list                         |   1 -
 .../bt/dependency_list                        |   0
 .../bt/description                            |   1 -
 bt5/erp5_dms_mysql_innodb_catalog/bt/license  |   1 -
 .../bt/maintainer_list                        |   2 -
 .../bt/provision_list                         |   1 -
 .../bt/publication_url                        |   1 -
 bt5/erp5_dms_mysql_innodb_catalog/bt/revision |   1 -
 .../bt/short_title                            |   1 -
 .../bt/template_action_path_list              |   0
 .../bt/template_base_category_list            |   0
 .../bt/template_catalog_datetime_key_list     |   0
 .../bt/template_catalog_full_text_key_list    |   0
 .../bt/template_catalog_keyword_key_list      |   0
 .../bt/template_catalog_local_role_key_list   |   0
 .../bt/template_catalog_method_id_list        |   2 -
 .../bt/template_catalog_multivalue_key_list   |   0
 .../bt/template_catalog_related_key_list      |   0
 .../bt/template_catalog_request_key_list      |   0
 .../bt/template_catalog_result_key_list       |   0
 .../bt/template_catalog_result_table_list     |   0
 .../bt/template_catalog_role_key_list         |   0
 .../bt/template_catalog_scriptable_key_list   |   0
 .../bt/template_catalog_topic_key_list        |   0
 .../bt/template_constraint_id_list            |   0
 .../bt/template_document_id_list              |   0
 .../bt/template_extension_id_list             |   0
 .../bt/template_format_version                |   1 -
 .../bt/template_local_roles_list              |   0
 .../bt/template_message_translation_list      |   0
 .../bt/template_module_id_list                |   0
 .../bt/template_path_list                     |   0
 ...late_portal_type_allowed_content_type_list |   0
 .../template_portal_type_base_category_list   |   0
 ...plate_portal_type_hidden_content_type_list |   0
 .../bt/template_portal_type_id_list           |   0
 .../template_portal_type_property_sheet_list  |   0
 .../bt/template_portal_type_roles_list        |   0
 .../template_portal_type_workflow_chain_list  |   0
 .../bt/template_preference_list               |   0
 .../bt/template_product_id_list               |   0
 .../bt/template_property_sheet_id_list        |   0
 .../bt/template_role_list                     |   0
 .../bt/template_site_property_id_list         |   0
 .../bt/template_skin_id_list                  |   0
 .../bt/template_test_id_list                  |   0
 .../bt/template_tool_id_list                  |   0
 ...template_update_business_template_workflow |   1 -
 .../bt/template_update_tool                   |   1 -
 .../bt/template_workflow_id_list              |   0
 bt5/erp5_dms_mysql_innodb_catalog/bt/title    |   1 -
 bt5/erp5_dms_mysql_innodb_catalog/bt/version  |   1 -
 59 files changed, 453 deletions(-)
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.catalog_keys.xml
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.catalog_keys.xml
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.xml
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/categories_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/comment
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/copyright_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/dependency_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/description
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/license
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/maintainer_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/provision_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/publication_url
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/revision
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/short_title
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_action_path_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_base_category_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_full_text_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_keyword_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_local_role_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_method_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_multivalue_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_related_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_request_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_table_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_role_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_scriptable_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_topic_key_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_constraint_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_document_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_extension_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_format_version
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_local_roles_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_message_translation_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_module_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_path_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_allowed_content_type_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_base_category_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_hidden_content_type_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_property_sheet_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_roles_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_workflow_chain_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_preference_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_product_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_property_sheet_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_role_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_site_property_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_skin_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_test_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_business_template_workflow
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_tool
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_workflow_id_list
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/title
 delete mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/version

diff --git a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.catalog_keys.xml b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.catalog_keys.xml
deleted file mode 100644
index 7d6996cb9c..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.catalog_keys.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<catalog_method>
-</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
deleted file mode 100644
index c0e9379848..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
+++ /dev/null
@@ -1,265 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-"""\n
-  This scripts parses a long string and does the following:\n
-    - processes arguments for searching by any category\n
-    - selects search mode\n
-    - adds creation and modification date clauses\n
-    - searches\n
-    - if requested, filters result so that only the user\'s docs are returned\n
-    - if requested, filters result to return only the newest versions\n
-\n
-  At the end the script generates one big complex query to retrieve objects.\n
-"""\n
-\n
-from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery\n
-\n
-if not search_string: \n
-  return None\n
-\n
-# extract search arguments\n
-args = context.Base_parseSearchString(search_string)\n
-\n
-# process searching by category\n
-bases = context.portal_categories.getBaseCategoryList()\n
-for k,v in args.items():\n
-  if k in bases:\n
-    args[\'%s_relative_url\' %k] = \'%s/%s\' %(k, v)\n
-\n
-# expand simplified notation of search mode\n
-mode = args.get(\'mode\')\n
-modemap = { \'natural\' : 0,\n
-            \'boolean\' : \'in_boolean_mode\',\n
-            \'expanded\': \'with_query_expansion\'}\n
-if mode and modemap.has_key(mode):\n
-  args[\'searchabletext\'] = dict(query = args[\'searchabletext\'], \n
-                                search_mode = modemap[mode])\n
-\n
-# a hack because SQLCatalog wants table.key now \n
-# dunno if it is a bug or a feature\n
-if args.has_key(\'searchabletext\'):\n
-  args[\'full_text.SearchableText\'] = args[\'searchabletext\']\n
-  args.pop(\'searchabletext\')\n
-\n
-creation_from = kw.get(\'creation_from\')\n
-creation_to = kw.get(\'creation_to\')\n
-modification_from = kw.get(\'modification_from\')\n
-modification_to = kw.get(\'modification_to\')\n
-\n
-wheres = []\n
-if creation_from:\n
-  wheres.append(\'creation_date >"\' + creation_from.strftime(\'%Y-%m-%d\') + \'"\')\n
-if creation_to:\n
-  wheres.append(\'creation_date <"\' + creation_from.strftime(\'%Y-%m-%d\') + \'"\')\n
-if modification_from:\n
-  wheres.append(\'modification_date >"\' + creation_from.strftime(\'%Y-%m-%d\') + \'"\')\n
-if modification_to:\n
-  wheres.append(\'modification_date <"\' + creation_from.strftime(\'%Y-%m-%d\') + \'"\')\n
-if wheres != []:\n
-  args[\'where_expression\'] = \' AND \'.join(wheres)\n
-\n
-# We search in any language by default\n
-if args.get(\'language\') == \'0\': \n
-  args.pop(\'language\')\n
-\n
-# User wants only his documents\n
-if args.get(\'mine\'): \n
-  args[\'owner\'] = context.portal_membership.getAuthenticatedMember()\n
-\n
-query_list = []\n
-for k, v in args.items():\n
-  query_list.append(Query(**{k:v}))\n
-\n
-if args.get(\'newest\'):\n
-  return ComplexQuery(*query_list, **dict(operator = \'AND\',\n
-                                          order_by = \'reference\')) \n
-\n
-return ComplexQuery(*query_list, \n
-                    **dict(operator = \'AND\')) \n
-\n
-####################################\n
-# NOT SUPPORTED YET VERY WELL\n
-\n
-#...and now we check for only the newest versions\n
-# but we need to preserve order\n
-if args.get(\'newest\'):\n
-  idx = {} # for keeping the last version of every reference\n
-  # this way we do reduce the number of docs very fast (without calling catalog)\n
-  newest = [] # for keeping order as it was\n
-  counter = 0\n
-  for r in res:\n
-    ref = r.getReference()\n
-    try:\n
-      ver = int(r.getVersion())\n
-    except ValueError:\n
-      continue\n
-    if idx.has_key(ref):\n
-      if idx[ref][0] >= ver:\n
-        continue\n
-      else:\n
-        del newest[idx[ref][1]]\n
-        counter -= 1\n
-    newest.append(r)\n
-    idx[ref] = (ver, counter)\n
-    counter += 1\n
-  # now that we have only one per reference, we can play with languages and revisions\n
-  res = [doc.getLatestVersionValue() for doc in newest]\n
-
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>search_string, **kw</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>search_string</string>
-                            <string>kw</string>
-                            <string>Products.ZSQLCatalog.SQLCatalog</string>
-                            <string>Query</string>
-                            <string>ComplexQuery</string>
-                            <string>None</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>args</string>
-                            <string>bases</string>
-                            <string>_getiter_</string>
-                            <string>k</string>
-                            <string>v</string>
-                            <string>_write_</string>
-                            <string>mode</string>
-                            <string>modemap</string>
-                            <string>dict</string>
-                            <string>_getitem_</string>
-                            <string>creation_from</string>
-                            <string>creation_to</string>
-                            <string>modification_from</string>
-                            <string>modification_to</string>
-                            <string>wheres</string>
-                            <string>query_list</string>
-                            <string>_apply_</string>
-                            <string>idx</string>
-                            <string>newest</string>
-                            <string>counter</string>
-                            <string>res</string>
-                            <string>r</string>
-                            <string>ref</string>
-                            <string>int</string>
-                            <string>ver</string>
-                            <string>ValueError</string>
-                            <string>_inplacevar_</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>doc</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SQLCatalog_makeAdvancedSearchQuery</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.catalog_keys.xml b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.catalog_keys.xml
deleted file mode 100644
index 7d6996cb9c..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.catalog_keys.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-<catalog_method>
-</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.xml b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.xml
deleted file mode 100644
index c823dcf25a..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>from Products.ZSQLCatalog.SQLCatalog import Query\n
-from Products.ZSQLCatalog.SQLCatalog import ComplexQuery\n
-\n
-# Return \n
-return ComplexQuery(Query(title=value),\n
-                    Query(reference=value),\n
-                    Query(short_tile=value),\n
-                    Query(source_reference=value),\n
-                    Query(destination_reference=value),\n
-                    operator="OR")\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>value</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>value</string>
-                            <string>Products.ZSQLCatalog.SQLCatalog</string>
-                            <string>Query</string>
-                            <string>ComplexQuery</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SQLCatalog_makeQuickSearchQuery</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/categories_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/categories_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log b/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
deleted file mode 100644
index 70710c6569..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
+++ /dev/null
@@ -1,35 +0,0 @@
-2009-04-18 Kazuhiko
-* Version 5.4.1
-
-2009-04-01 vincentd
-* Move versioning table to erp5_mysql_innodb_catalog.
-
-2008-11-13 yusei
-* Start to develop version 5.4.
-
-2008-10-14 yusei
-* Start to develop version 5.3.
-
-2008-09-24 yusei
-* Update xml format.
-
-2008-06-27 yusei
-* Start to develop version 5.2.
-
-2008-06-26 yusei
-* Revise version to 5.1.
-
-2008-04-17 yusei
-* Revise version to 5.0.
-
-2008-03-14 yusei
-* Move email and subject table to erp5_ingestion.
-* Version up to 0.91.
-
-2007-12-18 yusei
-*Fixed wrong field names in erp5_dms.
-
-2007-12-10 yusei
-* Update SQLCatalog_makeAdvancedSearchQuery for renaming external method in erp5_dms.
-
-2007-03-12 Initial version
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/comment b/bt5/erp5_dms_mysql_innodb_catalog/bt/comment
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/copyright_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/copyright_list
deleted file mode 100644
index 8dfa82e635..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/copyright_list
+++ /dev/null
@@ -1 +0,0 @@
-Nexedi
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/dependency_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/dependency_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/description b/bt5/erp5_dms_mysql_innodb_catalog/bt/description
deleted file mode 100644
index 54fb2b9472..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/description
+++ /dev/null
@@ -1 +0,0 @@
-MySQL tables for ERP5 DMS
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/license b/bt5/erp5_dms_mysql_innodb_catalog/bt/license
deleted file mode 100644
index 3a3e12bcad..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/license
+++ /dev/null
@@ -1 +0,0 @@
-GPL
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/maintainer_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/maintainer_list
deleted file mode 100644
index 0202396edc..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/maintainer_list
+++ /dev/null
@@ -1,2 +0,0 @@
-jp
-bartek
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/provision_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/provision_list
deleted file mode 100644
index 2b7d9692f9..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/provision_list
+++ /dev/null
@@ -1 +0,0 @@
-erp5_dms_catalog
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/publication_url b/bt5/erp5_dms_mysql_innodb_catalog/bt/publication_url
deleted file mode 100644
index 4af18322e3..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/publication_url
+++ /dev/null
@@ -1 +0,0 @@
-None
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/revision b/bt5/erp5_dms_mysql_innodb_catalog/bt/revision
deleted file mode 100644
index ec28ec146d..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/revision
+++ /dev/null
@@ -1 +0,0 @@
-588
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/short_title b/bt5/erp5_dms_mysql_innodb_catalog/bt/short_title
deleted file mode 100644
index 4af18322e3..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/short_title
+++ /dev/null
@@ -1 +0,0 @@
-None
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_action_path_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_action_path_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_base_category_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_base_category_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_full_text_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_full_text_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_keyword_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_keyword_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_local_role_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_local_role_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_method_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_method_id_list
deleted file mode 100644
index 9b96d8f303..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_method_id_list
+++ /dev/null
@@ -1,2 +0,0 @@
-erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery
-erp5_mysql_innodb/SQLCatalog_makeQuickSearchQuery
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_multivalue_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_multivalue_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_related_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_related_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_request_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_request_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_table_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_result_table_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_role_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_role_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_scriptable_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_scriptable_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_topic_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_topic_key_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_constraint_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_constraint_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_document_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_document_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_extension_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_extension_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_format_version b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_format_version
deleted file mode 100644
index 56a6051ca2..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_format_version
+++ /dev/null
@@ -1 +0,0 @@
-1
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_local_roles_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_local_roles_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_message_translation_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_message_translation_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_module_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_module_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_path_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_path_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_allowed_content_type_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_base_category_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_base_category_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_hidden_content_type_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_property_sheet_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_property_sheet_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_roles_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_roles_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_workflow_chain_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_portal_type_workflow_chain_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_preference_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_preference_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_product_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_product_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_property_sheet_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_property_sheet_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_role_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_role_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_site_property_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_site_property_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_skin_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_skin_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_test_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_test_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_business_template_workflow b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_business_template_workflow
deleted file mode 100644
index c227083464..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_business_template_workflow
+++ /dev/null
@@ -1 +0,0 @@
-0
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_tool b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_tool
deleted file mode 100644
index c227083464..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_update_tool
+++ /dev/null
@@ -1 +0,0 @@
-0
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_workflow_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_workflow_id_list
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/title b/bt5/erp5_dms_mysql_innodb_catalog/bt/title
deleted file mode 100644
index a7ede37e80..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/title
+++ /dev/null
@@ -1 +0,0 @@
-erp5_dms_mysql_innodb_catalog
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/version b/bt5/erp5_dms_mysql_innodb_catalog/bt/version
deleted file mode 100644
index b5db1702f3..0000000000
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/version
+++ /dev/null
@@ -1 +0,0 @@
-5.4.3
\ No newline at end of file
-- 
2.30.9