[Erp5-dev] Hardcoded workflow_id in ZODB scripts are problematic...aren't they?

Łukasz Nowak lukasz.nowak at ventis.com.pl
Fri Oct 26 16:48:01 CEST 2007


Hello,

I've managed transition from original workflow names (eg.
accounting_workflow) to our own workflow names (eg.
ventis_accounting_workflow).

What I found right now is that there are many places, where workflow_id
is hardcoded, using such grep from fetched Nexedi's BT:

find . -type f | grep -v \\.svn | xargs grep wf_id

Right now I'm putting hardcoded our workflow id, but isn't it a
problem? I know, it might be sometimes quite hard do dynamically fetch
workflow id from some context (eg. to choose simulation state on report
dialog).

Is it known bug/feature/unresolved problem?

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.



More information about the Erp5-dev mailing list