[ESCALATED] Waiting Held Email trigger problems

Discuss and get help installing, using and configuring SiT!

[ESCALATED] Waiting Held Email trigger problems

Postby sancho78rus » Mon Apr 05, 2010 11:47 pm

I set up trigger Waiting Held Email:
NOTICE_MINS_HELD_EMAIL. Rules: {holdingmins} == 2 0

But notices appears every minute.
Where is my mistake?
sancho78rus
Community Contributor
Community Contributor
 
Posts: 114
Joined: Wed Jul 15, 2009 3:37 pm

Re: Waiting Held Email trigger problems

Postby ivanlucas » Tue Apr 06, 2010 9:33 am

Hi,

NOTICE_MINS_HELD_EMAIL. Rules: {holdingmins} == 2 0


The space between the 2 and the 0 is probably causing the problem. The rules editor is quirky and it's difficult (or impossible?) to enter two numbers without a space, this will be fixed in v4.

See Bug 1102 http://bugs.sitracker.org/view.php?id=1102

Cheers,

Ivan
Ivan Lucas, Project Lead, Support Incident Tracker (SiT!) GPL. ......... Chat live on irc, #sit on freenode.
Help free software: Make a donation to the SiT! project or Join the Free Software Foundation as an Associate Member.
User avatar
ivanlucas
SiT! Developer
SiT! Developer
 
Posts: 998
Joined: Sun Feb 01, 2009 9:49 pm
Location: Derbyshire, UK

Re: [ESCALATED] Waiting Held Email trigger problems

Postby sancho78rus » Wed Apr 07, 2010 6:07 pm

I tryed NOTICE_MINS_HELD_EMAIL. Rules: {holdingmins} == 9
but it again create notice every minute.

Also i cannot set NOTICE_NEW_HELD_EMAIL trigger.
It dont works even without rules.
sancho78rus
Community Contributor
Community Contributor
 
Posts: 114
Joined: Wed Jul 15, 2009 3:37 pm

Re: [ESCALATED] Waiting Held Email trigger problems

Postby xerosis » Thu Apr 08, 2010 3:08 pm

Checking the code, there's a mismatch between the parameter names. The trigger passes 'minswaiting' and the variable defined for use is 'holdingmins'. Diff to fix in your copy is here: http://gitorious.org/~xerosis/sit/xeros ... 3b2e297986
User avatar
xerosis
SiT! Developer
SiT! Developer
 
Posts: 198
Joined: Sat Jan 24, 2009 10:36 pm

Re: [RESOLVED] Waiting Held Email trigger problems

Postby sancho78rus » Fri Apr 09, 2010 9:43 am

I changed code as you wrote.

But it still does not work with {holdingmins} == 9

And it works wrong with {holdingmins} > 9
It generates notice every minute.
sancho78rus
Community Contributor
Community Contributor
 
Posts: 114
Joined: Wed Jul 15, 2009 3:37 pm

Re: [RESOLVED] Waiting Held Email trigger problems

Postby xerosis » Fri Apr 09, 2010 3:16 pm

I'm not convinced the code in auto.php is correct, could you log it as a bug and assign it to me?
User avatar
xerosis
SiT! Developer
SiT! Developer
 
Posts: 198
Joined: Sat Jan 24, 2009 10:36 pm

Re: [ESCALATED] Waiting Held Email trigger problems

Postby ccadran » Mon Mar 21, 2011 7:18 pm

Was this ever solved? I just started testing out this product last week and I am having the same issue with email notifications from the holding queue.
ccadran
Lurker
Lurker
 
Posts: 2
Joined: Mon Mar 21, 2011 4:26 pm

Re: [ESCALATED] Waiting Held Email trigger problems

Postby xerosis » Sun Mar 27, 2011 11:00 am

It's fixed in current Git but needs a bit of testing before landing in svn.
User avatar
xerosis
SiT! Developer
SiT! Developer
 
Posts: 198
Joined: Sat Jan 24, 2009 10:36 pm


Return to Installing, Configuring and Using SiT!

Who is online

Users browsing this forum: No registered users and 1 guest

cron