[PATCH] xodtemplate: Don't use space as a delimiter in escalations

Andreas Ericsson ae at op5.se
Wed May 8 18:53:26 CEST 2013


On 2013-05-08 18:38, Robin Sonefors wrote:
> contact_names are allowed to have spaces in them, so using space as a
> delimiter doesn't really work. Space is thus not a valid delimiter for
> contacts anywhere, except in escalations, where it is only valid after
> the first comma. So you could have one contact with a space in its name,
> as long as you put it first - and no more than that!
>

And we always strip() them afterwards, so no risk of getting the spaces
included in the contact names. Neat. Thanks.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may




More information about the Developers mailing list