[Erp5-report] r21565 - in /erp5/trunk: ./ bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_c...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 13 10:45:27 CEST 2008


Author: jm
Date: Fri Jun 13 10:45:25 2008
New Revision: 21565

URL: http://svn.erp5.org?rev=21565&view=rev
Log:
Fix IngestionFile_findTypeNameForEvent against r21530 (temp objects).

Modified:
    erp5/trunk/   (props changed)
    erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/IngestionFile_findTypeNameForEvent.xml
    erp5/trunk/bt5/erp5_crm/bt/revision

Propchange: erp5/trunk/
------------------------------------------------------------------------------
    svk:merge = dccd0a16-c08f-4412-8363-748a74d11bc6:/1:14272

Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/IngestionFile_findTypeNameForEvent.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/IngestionFile_findTypeNameForEvent.xml?rev=21565&r1=21564&r2=21565&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/IngestionFile_findTypeNameForEvent.xml (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/IngestionFile_findTypeNameForEvent.xml Fri Jun 13 10:45:25 2008
@@ -67,8 +67,7 @@
             <key> <string>_body</string> </key>
             <value> <string>from Products.ERP5Type.Document import newTempEvent\n
 \n
-new_id = newTempEvent(context, \'subobject\', data=context.getData())\n
-event = context[new_id]\n
+event = newTempEvent(context, \'subobject\', data=context.getData())\n
 \n
 # First, try to find portal type from content.\n
 portal_type = event.getPropertyDictFromContent().get(\'portal_type\', None)\n
@@ -126,8 +125,6 @@
                             <string>newTempEvent</string>
                             <string>context</string>
                             <string>_getattr_</string>
-                            <string>new_id</string>
-                            <string>_getitem_</string>
                             <string>event</string>
                             <string>None</string>
                             <string>portal_type</string>

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=21565&r1=21564&r2=21565&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision Fri Jun 13 10:45:25 2008
@@ -1,1 +1,1 @@
-264
+265




More information about the Erp5-report mailing list