Item11708: RcsWrap and RcsLite do not implement the documented Store interface
Priority: Normal
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component:
Branches: Release01x01 trunk
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
-
getApproxRevTime
is wildly inaccurate when forcedate is used
-
getVersionInfo
always returns info for the most recent rev
-
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