[Erp5-report] r11205 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 8 16:25:17 CET 2006
Author: vincent
Date: Wed Nov 8 16:25:11 2006
New Revision: 11205
URL: http://svn.erp5.org?rev=11205&view=rev
Log:
Get the list of group titles to generate the cache key for Form_getGroupTitleAndId. This fixes the case when creating a form, displaying it and then creating groups with fields would not render the fields (because the groups are not known in the cache).
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getGroupTitleAndId.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getGroupTitleAndId.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getGroupTitleAndId.xml?rev=11205&r1=11204&r2=11205&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getGroupTitleAndId.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Form_getGroupTitleAndId.xml Wed Nov 8 16:25:11 2006
@@ -121,7 +121,7 @@
return res\n
\n
getFormGroupTitleAndId = CachingMethod(getFormGroupTitleAndId,\n
- ("ERP5Site_getFormGroupTitleAndId", form.id),\n
+ ("ERP5Site_getFormGroupTitleAndId", form.id, form.get_groups(include_empty=0)),\n
cache_duration=None)\n
return getFormGroupTitleAndId()\n
</string> </value>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=11205&r1=11204&r2=11205&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Nov 8 16:25:11 2006
@@ -1,1 +1,1 @@
-290
+294
More information about the Erp5-report
mailing list