From 6a37014134f685db7f07a74a028752db9317602b Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Thu, 24 Sep 2009 15:05:02 +0000
Subject: [PATCH] add portal_contribution_registry/pdf_mimetype.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29173 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../pdf_mimetype.xml                          | 70 +++++++++++++++++++
 product/ERP5/bootstrap/erp5_core/bt/revision  |  2 +-
 .../bootstrap/erp5_core/bt/template_path_list |  1 +
 3 files changed, 72 insertions(+), 1 deletion(-)
 create mode 100644 product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_contribution_registry/pdf_mimetype.xml

diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_contribution_registry/pdf_mimetype.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_contribution_registry/pdf_mimetype.xml
new file mode 100644
index 0000000000..95ba0777b5
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_contribution_registry/pdf_mimetype.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ContributionPredicate" module="Products.ERP5Type.Document.ContributionPredicate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>mime_type</string> </key>
+                    <value>
+                      <list>
+                        <string>application/pdf</string>
+                      </list>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+        <item>
+            <key> <string>criterion_property</string> </key>
+            <value>
+              <tuple>
+                <string>mime_type</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>destination_portal_type</string> </key>
+            <value> <string>PDF</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>pdf_mimetype</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>30</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Contribution Predicate</string> </value>
+        </item>
+        <item>
+            <key> <string>test_method_id</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>PDF</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 880a8fbedc..1dce899014 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1305
\ No newline at end of file
+1306
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_path_list
index e5ad78e6df..cbc3389372 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/template_path_list
+++ b/product/ERP5/bootstrap/erp5_core/bt/template_path_list
@@ -17,6 +17,7 @@ portal_contribution_registry/default_predicate
 portal_contribution_registry/drawing_extension
 portal_contribution_registry/image_extension
 portal_contribution_registry/pdf_extension
+portal_contribution_registry/pdf_mimetype
 portal_contribution_registry/presentation_extension
 portal_contribution_registry/spreadsheet_extension
 portal_contribution_registry/text_extension
-- 
2.30.9