• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4373: Allow empty due dates or TBD dates for unscheduled actions

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ActionTrackerPlugin Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Allow empty due dates or TBD dates for unscheduled actions
This is relatively straightforward, if we make some gross assumptions; that is, a TBD action is always treated as if it was due today, so will always be matched by a "late" search, or a date search that covers today's date. I am assuming no extensions to search to support searching for TBD actions are required. The trick is to develop testcases that cover all the corner cases.

CC


To simplify this, let's assume that any empty date it TBD. So we only have to support empty date. I think a very logical (and possibly simple) way to handle requires two changes:

  • When an empty date is saved, it's translated to "9999-12-31".
  • When a date of "9999-12-31" is displayed in %ACTION%, %ACTIONSEARCH% or the edit form it's an empty string.
  • To search for all empty dates, you'd actually search on "9999-12-31". Search results when sorted by date, would display the empty dates last (chronologically as "9999-12-31").
Does this approach work? -- TWiki:Main.RobertGraff

It's really no advantage over storing 'TBD' in the date field. I already coded this; the only thing outstanding is the tests.

CC

ItemTemplate
Summary Allow empty due dates or TBD dates for unscheduled actions
ReportedBy TWiki:Main.RobertGraff
Codebase

SVN Range TWiki-4.1.2, Tue, 17 Jul 2007, build 14423
AppliesTo Extension
Component ActionTrackerPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:14431
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-09-02 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback