allowing content rules to be launched by other rules

thomas desvenain <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAFn5D-hJznNHjSh8=Hu=wRe5emPd+qVLqetMt7fsQd=L36Fcxg@mail.gmail.com>
Hi

Today, a content rule can't be launched by an event triggered during the
execution of an other rule.
This avoids behavior unexpected for user an probably many errors.
the 'rule_filter' ensures that.

But I think that it could be useful that sometimes, a rule can be triggered
from an other rule.

for example : a rule that automatically 'publish' a content when it is
added should trigger a rule that sends an email when a content is published.

What do you think about an option on the rule, unselected by default, to
allow the rule to be launched during an other rule ?

I would be pleased to implement it, but I'd like to know about your opinion.

Thanks

Thomas

-- 
Thomas Desvenain

Téléphone : 09 51 37 35 18

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.