From 97ef2d88c5d494cc95a463b2af65bca40b50b290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 8 Oct 2008 10:03:52 +0000 Subject: [PATCH] Use getParentValue instead of getParent git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24098 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../CacheFactory_getAggregatedCachePluginListStatisticList.xml | 2 +- .../erp5_core/RamCache_getCachePluginStatisticList.xml | 2 +- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CacheFactory_getAggregatedCachePluginListStatisticList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CacheFactory_getAggregatedCachePluginListStatisticList.xml index 0bc19f2812b..bd9a6034bdf 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CacheFactory_getAggregatedCachePluginListStatisticList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CacheFactory_getAggregatedCachePluginListStatisticList.xml @@ -64,7 +64,7 @@ for ram_cache_plugin in context.getPortalObject().portal_catalog(\n result.append(ReportSection(path = ram_cache_plugin.getRelativeUrl(), \n form_id = \'RamCache_viewStatisticList\',\n selection_params = {\'list_lines\':0,},\n - title = \'%s/%s\' %(ram_cache_plugin.getParent().getTitle(),\n + title = \'%s/%s\' %(ram_cache_plugin.getParentValue().getTitle(),\n ram_cache_plugin.getTitle()),))\n return result\n </string> </value> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/RamCache_getCachePluginStatisticList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/RamCache_getCachePluginStatisticList.xml index f77c593a0ff..bee899e9753 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/RamCache_getCachePluginStatisticList.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/RamCache_getCachePluginStatisticList.xml @@ -63,7 +63,7 @@ from Products.ERP5Type.Document import newTempBase\n cache_stats = context.getPortalObject().portal_caches.getCacheTotalMemorySize()\n cache_factory_list_stats = cache_stats[\'stats\']\n cache_plugin_id = context.getId()\n -cache_factory_id = context.getParent().getId()\n +cache_factory_id = context.getParentValue().getId()\n cache_plugin_stats = cache_factory_list_stats[cache_factory_id]\n cache_plugin_stats_data = cache_plugin_stats[\'cp_cache_keys_total_size\']\n \n diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index ad12b97674a..9a32da2184a 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -983 \ No newline at end of file +984 \ No newline at end of file -- 2.30.9