• 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.

Item3537: FormQueryPlugin could use createdate and formatTime

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension FormQueryPlugin Enhancement Confirmed Someone to finish coding and documenting it n/a  

Edit Form Data

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

Detail

I suggest adding to FormQueryPlugin functionalities like createdate and formatTime in the DBCacheContrib style.

The documentation should be updated accordingly.

Possible solution

FormQueryPlugin owner please review and comment. I would be happy to check-in and release those changes even though I'm not familiar with that process. Item3525 also needs FormQueryPlugin documentation update. Is there some test code I should run? How?

-- TWiki:Main.StephaneLenclud - 30 Jan 2007

Those are both reasonable changes.

Yes, there are a set of unit tests that are run when you perl build.pl in the extension directory. You have to have BuildContrib pseudo-installed, and Test::Unit installed in your perl.

I'd be happy to run those tests and check in for you, but on on the condition that you:

  1. provide documentation
  2. add at least one unit test for each function point

-- TWiki:Main.CrawfordCurrie - 25 Apr 2007

Has Stephane written unit tests before? It is not easy to learn to set up if you are not a very skilled programmer and you need a little help to get started. I still do not know how it works and I could not write a unit test from scratch.

-- TWiki:Main.KennethLavrsen - 25 Apr 2007

I improved the doc - see http://twiki.org/cgi-bin/view/Codev/TestCasesTutorial

CC

Ok thanks. I won't get a chance to get involved with unit test any time soon I'm afraid.

-- TWiki:Main.StephaneLenclud - 26 Apr 2007

Then the features won't go in any time soon, I'm afraid.

CC

No probs Crawford. At the same time it's only 10 lines change that could easily have been included today as you published a new version of FormQueryPlugin. If the existing unit test are not broken that's already good enough to include those changes right? Then we could leave that bug open so that unit test specific for that functionality could be implemented as soon as I get a chance to do it.

-- TWiki:Main.StephaneLenclud - 27 Apr 2007

ItemTemplate
Summary FormQueryPlugin could use createdate and formatTime
ReportedBy TWiki:Main.StephaneLenclud
Codebase ~twiki4
SVN Range TWiki-4.1.1, Tue, 30 Jan 2007, build 12650
AppliesTo Extension
Component FormQueryPlugin
Priority Enhancement
CurrentState Confirmed
WaitingFor Someone to finish coding and documenting it
Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch TableFormat.pm.patch r1 manage 0.6 K 2007-01-30 - 23:30 StephaneLenclud Adding support for formatTime.
Unknown file formatpatch WebDB.pm.patch r1 manage 0.6 K 2007-01-30 - 23:29 StephaneLenclud Adding createdate field.
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-04-27 - TWikiUserMapping_StephaneLenclud
 
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