[Erp5-report] r30368 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: WorkflowTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 6 13:49:13 CET 2009


Author: jerome
Date: Fri Nov  6 13:49:11 2009
New Revision: 30368

URL: http://svn.erp5.org?rev=30368&view=rev
Log:
spec= is not a valid argument for portal catalog

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml?rev=30368&r1=30367&r2=30368&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/preference_workflow/scripts/disableOtherPreferences.xml [utf8] Fri Nov  6 13:49:11 2009
@@ -59,8 +59,8 @@
 portal = sci.getPortal()\n
 LOG = lambda msg: pref.log("PreferenceWorkflow.disableOtherPreferences on %s"%pref, msg)\n
 \n
-# deactivate all other preferences of the same level \n
-for p in portal.portal_preferences.searchFolder(spec=(\'ERP5 Preference\',)) :\n
+# deactivate all other preferences of the same level that the user can view\n
+for p in portal.portal_preferences.searchFolder():\n
   p = p.getObject()\n
   try :\n
     if portal.portal_membership.getAuthenticatedMember().allowed(p, [\'Owner\', ]) :\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=30368&r1=30367&r2=30368&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Fri Nov  6 13:49:11 2009
@@ -1,1 +1,1 @@
-1368
+1369




More information about the Erp5-report mailing list