[Erp5-dev] Activity semaphoring/locking mechanisms, was: activate_kw for activities - how to use?
Łukasz Nowak
lukasz.nowak at ventis.com.pl
Tue Mar 11 14:02:08 CET 2008
Hello,
On 2008-03-11, 11:39:33
Łukasz Nowak <lukasz.nowak at ventis.com.pl> wrote:
(...)
> But...it do not resolves my problem.
>
> I've got Sale Packing Lists builder, which is merging many Sale Orders
> to one (or more) Sale Packing Lists. It is invoked with SQLDict
> instead of SQLQueue, as there might be many Sale Orders confirmed in
> same time, and only one builder is enough.
>
> But this builder shall wait as long as there is no calls on paths
> like:
>
> portal.sale_order_module.getPath()
> portal.sale_packing_list_module.getPath()
> portal.portal_simulation.getPath() (to be more specific - which
> relates to any sale order or sale packing list...)
>
> I tried to use paths with or without % suffix (eg.
> python string '/erp5/sale_order_module%%'), but I've figured out that
> SQLDict_validateMessageList.zsql[1] is not using like comparison, but
> exact one.
>
> Shall I create some kind of semaphore? Is there any nice
> guide/solution which I haven't found? Any tips welcome.
I'd like only to note, that above problem is still not solved in my
case - and discussion "diverged" ;) from my original question.
So - if anyone has tips about this issue feel free to share.
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