SiT! Bugs - SiT!
View Issue Details
0000208SiT!schedulerpublic2008-11-04 20:512011-07-02 18:50
paulh 
ivan 
normalminorhave not tried
resolvedfixed 
 
3.90beta1Current GIT 
0000208: Set user status based on holiday chart
Should have an scheduled task which sets the users status if there on holiday, ill etc based on the entry in the holiday calendar
No tags attached.
Issue History
2008-11-04 20:51paulhNew Issue
2008-11-04 21:11ivanNote Added: 0000159
2008-11-04 21:27ivanNote Edited: 0000159
2008-11-04 21:39paulhNote Added: 0000160
2008-11-29 23:32kieranTarget Version3.45 => 3.50
2008-12-05 12:08ivanAssigned To => ivan
2008-12-05 12:08ivanStatusnew => confirmed
2009-05-27 21:50paulhNote Added: 0001130
2009-05-27 22:03kieranNote Added: 0001139
2009-05-29 14:58ivanTarget Version3.50 => 3.60
2009-08-21 14:38kieranTarget Version3.60 => 4.0
2010-07-03 16:36paulhStatusconfirmed => assigned
2011-02-14 13:21ivanTarget Version4.0 => 3.90beta1
2011-07-02 18:50ivanNote Added: 0004082
2011-07-02 18:50ivanStatusassigned => resolved
2011-07-02 18:50ivanFixed in Version => Current GIT
2011-07-02 18:50ivanResolutionopen => fixed

Notes
(0000159)
ivan   
2008-11-04 21:11   
(edited on: 2008-11-04 21:27)
I'm pretty sure I wrote some code to do this, though it may not be being used at the moment.

saction_SetUserStatus() scheduler action does this, though at the present moment, I can't work out how to test if it's works without waiting a day.

(0000160)
paulh   
2008-11-04 21:39   
Ahh didn't see that, should probably run it more often as you could be on half day, it would also be good if it picked up on people being set as ill (which will be added though during the day)
(0001130)
paulh   
2009-05-27 21:50   
This is still a problem it doesn't seem to work in all cases.

It didn't set MC away ysterday - suspect this could be due to the bank holiday on Monday?

It doesn't set you back in the office
(0001139)
kieran   
2009-05-27 22:03   
Might be worth setting up an error log on that system and see if there's any errors occuring?
(0004082)
ivan   
2011-07-02 18:50   
Fixed in Git 238b763.

It's not possible to set people back in the office after a holiday, that should be always be a manual task, otherwise the system will break the ability to set your status to be on holiday or on a training course manually if you didn't pre-book it.