[Erp5-report] r8575 - /erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jul 19 14:10:50 CEST 2006
Author: kevin
Date: Wed Jul 19 14:10:47 2006
New Revision: 8575
URL: http://svn.erp5.org?rev=8575&view=rev
Log:
Remove unneeded variable.
Add some debug log.
Modified:
erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_newContent.xml
Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_newContent.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_newContent.xml?rev=8575&r1=8574&r2=8575&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_newContent.xml (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_newContent.xml Wed Jul 19 14:10:47 2006
@@ -96,10 +96,16 @@
# To avoid confusion (invisible published cloned document due to duplicate document references in a given section), always modify the document\n
\n
# Copy and paste the object\n
- directory = context.getParent()\n
clipboard = directory.manage_copyObjects(ids=[context.getId()])\n
paste_result = directory.manage_pasteObjects(cb_copy_data=clipboard)\n
new_object = directory[paste_result[0][\'new_id\']]\n
+\n
+ #context.log("Kev test directory >>>>>", repr(directory))\n
+ #context.log("Kev test context.getI >>>>>", repr(context.getId()))\n
+ #context.log("Kev test clipboard >>>>>", repr(clipboard))\n
+ #context.log("Kev test paste_result >>>>>", repr(paste_result))\n
+ #context.log("Kev test directory.WebSite_getUrl() >>>>>", repr(directory.WebSite_getUrl()))\n
+ #context.log("Kev test new_object.getId() >>>>>", repr(new_object.getId()))\n
\n
redirect_url = \'%s/%s/WebPage_view?editable_mode=1\' % (directory.WebSite_getUrl(), new_object.getId())\n
\n
@@ -167,10 +173,6 @@
</item>
<item>
<key> <string>_filepath</string> </key>
- <value> <string>Script (Python):/nexedi/portal_skins/erp5_web/WebSite_newContent</string> </value>
- </item>
- <item>
- <key> <string>_owner</string> </key>
<value>
<none/>
</value>
More information about the Erp5-report
mailing list