[Erp5-report] r31864 nicolas.dumazet - /erp5/trunk/products/ERP5Type/Core/RoleInformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 21 10:46:48 CET 2010
Author: nicolas.dumazet
Date: Thu Jan 21 10:46:47 2010
New Revision: 31864
URL: http://svn.erp5.org?rev=31864&view=rev
Log:
Role Informations have no references, remove .getReference() from search_list
This caused a traceback in manage_findResult.
Thanks to Julien for debugging help.
Modified:
erp5/trunk/products/ERP5Type/Core/RoleInformation.py
Modified: erp5/trunk/products/ERP5Type/Core/RoleInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/RoleInformation.py?rev=31864&r1=31863&r2=31864&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/RoleInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/RoleInformation.py [utf8] Thu Jan 21 10:46:47 2010
@@ -92,11 +92,10 @@
security.declareProtected(AccessContentsInformation, 'PrincipiaSearchSource')
def PrincipiaSearchSource(self):
"""Return keywords for "Find" tab in ZMI"""
- search_source_list = [self.getReference(),
- self.getTitle(),
- self.getDescription(),
- self.getConditionText(),
- self.getRoleBaseCategoryScriptId()]
+ search_source_list = [self.getTitle(),
+ self.getDescription(),
+ self.getConditionText(),
+ self.getRoleBaseCategoryScriptId()]
return ' '.join(filter(None, search_source_list))
security.declarePrivate("getLocalRolesFor")
More information about the Erp5-report
mailing list