Commit 332d6801 authored by Yusei Tahara's avatar Yusei Tahara

2007-12-21 Yusei

* Refactored ingestion system. Please use revision 18459 or newer of ERP5 and ERP5OOo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18466 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 209db62f
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Interaction" module="Products.ERP5.Interaction"/>
<string>Products.ERP5.Interaction</string> <tuple/>
<string>Interaction</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
<string>Products.ERP5.Interaction</string> <tuple/>
<string>InteractionDefinition</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
<string>Products.ERP5.Interaction</string> <tuple/>
<string>InteractionDefinition</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
<string>Products.ERP5.Interaction</string> <tuple/>
<string>InteractionDefinition</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Scripts" module="Products.DCWorkflow.Scripts"/>
<string>Products.DCWorkflow.Scripts</string> <tuple/>
<string>Scripts</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -102,7 +102,7 @@ if document.hasBaseData():\n ...@@ -102,7 +102,7 @@ if document.hasBaseData():\n
new_metadata[metadata_key] = value\n new_metadata[metadata_key] = value\n
if new_metadata:\n if new_metadata:\n
# edit metadata via server\n # edit metadata via server\n
document.activate().updateBaseMetadata(**new_metadata)\n document.activate().Document_tryToUpdateBaseMetadata(**new_metadata)\n
]]></string> </value> ]]></string> </value>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -75,7 +72,8 @@ object.uploadFile()\n ...@@ -75,7 +72,8 @@ object.uploadFile()\n
# because it will be gone from there in a second\n # because it will be gone from there in a second\n
# and activate would fail\n # and activate would fail\n
if object.getParentValue().getPortalType() != \'Contribution Tool\':\n if object.getParentValue().getPortalType() != \'Contribution Tool\':\n
object.activate().convertToBaseFormat()\n object.processFile()\n
object.activate().Document_tryToConvertToBaseFormat()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Variables" module="Products.DCWorkflow.Variables"/>
<string>Products.DCWorkflow.Variables</string> <tuple/>
<string>Variables</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -3,11 +3,8 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Worklists" module="Products.DCWorkflow.Worklists"/>
<string>Products.DCWorkflow.Worklists</string> <tuple/>
<string>Worklists</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
784 786
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment