WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Report a Bug > WebGUI Bug Tracker

Group expirations and notify time calculations

User colink
Date 3/24/2007 5:44 pm
Severity Minor (annoying, but not harmful)
Version WebGUI 7
Views 103
Rating 1    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
colink

In Operation/Group.pm, all of the time settings like expireOffset use the Interval form widget.  That returns a time in seconds.

Inside Group.pm, however, all the time settings are set to be in days.  And, worse, inside Workflow/Activity/ExpireGroupings.pm, all times are considered days so they're multiplied by 86,400, which double converts them into seconds.

The fix is to:

  1. Update the documentation in Group.pm to denote that seconds, rather than days, are stored here.
  2. Remove all double conversion to seconds in ExpireGroupings.pm
  3. Check anyplace else that times are gathered via Interval.pm and make sure that this same bug isn't happening. 


Back to Top
Rate [
|
]
 
 
nogura

Fixed per your suggestions.

I can't seem to verify that it's working.  That may be because of my dev enviornment, or my newness.

Please check it out at your convenience and let me know. 



Back to Top
Rate [
|
]