You are here: Foswiki>Tasks Web>Item11708 (19 Jun 2012, PaulHarvey)Edit Attach

Item11708: RcsWrap and RcsLite do not implement the documented Store interface

pencil
Priority: Normal
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component:
Branches: Release01x01 trunk
Reported By: CrawfordCurrie
Waiting For: Main.CrawfordCurrie
Last Change By: PaulHarvey
I have been extending the store tests to assist in development of the PlainFileContrib. in the course of this I have found a number of minor problems with the RcsWrap/RcsLite implementation of the store interface. None of these is to be regarded as a release blocker.

Both RcsWrap and RcsLite
  1. getApproxRevTime is wildly inaccurate when forcedate is used
  2. getVersionInfo always returns info for the most recent rev
  3. repRev does not support forcedate as documented in either

Just RcsWrap:
  • A forcedate on a topic with a date which is earlier than the most recent revision of the topic already stored will crash with a "Date precedes" error.

Also, the Store POD documentation is inaccurate in places, and needs fixing.
  • forcedate must be >= the most recent revision of the topic
  • readTopic is documented as If the $version is undef, then reads the most recent version - add or there is no revision numbered =$version=.
  • forcedate must reflect the constraint described above.

-- CrawfordCurrie - 31 Mar 2012

Please remember we want to avoid unnecessary divergence of UnitTestContrib wrt trunk vs Release01x01. Re-opened to back-port the tests into Release01x01

-- PaulHarvey - 16 Jun 2012

Made the tests skip rather than fail under Foswiki 1.1

-- PaulHarvey - 18 Jun 2012 - 23:57
 
Topic revision: r18 - 19 Jun 2012, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy