[CMF-checkins] CVS: CMF/DCWorkflow - Default.py:1.13
Chris McDonough
chrism@zope.com
Thu, 17 Oct 2002 15:38:37 -0400
Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv16445/DCWorkflow
Modified Files:
Default.py
Log Message:
- Multimodule checkin to convert calls from user.getUserName() to
user.getId() where appropriate. User names should not be used
as immutable references, while user ids should. The distinction
is not clearly enforcd in the stock user folder or any current user
folder implementations, but newer user folder implementations
will rely upon it.
=== CMF/DCWorkflow/Default.py 1.12 => 1.13 ===
--- CMF/DCWorkflow/Default.py:1.12 Thu Aug 1 15:05:14 2002
+++ CMF/DCWorkflow/Default.py Thu Oct 17 15:38:37 2002
@@ -147,7 +147,7 @@
vdef = wf.variables['actor']
vdef.setProperties(description='The ID of the user who performed '
'the last transition',
- default_expr='user/getUserName',
+ default_expr='user/getId',
for_status=1, update_always=1)
vdef = wf.variables['comments']
@@ -279,7 +279,7 @@
vdef = wf.variables['actor']
vdef.setProperties(description='The ID of the user who performed '
'the last transition',
- default_expr='user/getUserName',
+ default_expr='user/getId',
for_status=1, update_always=1)
vdef = wf.variables['comments']