NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11746 for general documentation changes for release 1.1.6. Use
Item9693 for docu changes for release 1.2 and 2.0.
Item8709: REVINFO formating code did case insensitive format token replacement.
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
|
|
(this issue was found during development of 1.1 due to code reuse, but the fix has been applied to 1.0.10 as well)
up to foswiki 1.0.9,
%!REVINFO{format="$TIME}% is evaluated as though the =$TIME+ is lower case.
This is inconsistent, undocumented, and has been found to clash with
SpreadSheetPlugin's
$TIME() (and
$DATE and presumably other) functions.
--
SvenDowideit - 16 Mar 2010
(Kenneth's original finding)
Someone has very recently changes
SEARCH so the format is encoded so CALC fails.
This
%SEARCH{"%TOPIC%" scope="topic" nonoise="on" format="Hello $percntCALC{$ROUND($TIMEDIFF($TIME($createdate), $TODAY(), days),0)}$percnt"}%
Hello 800
works in 1.0.9 and fails in trunk
--
KennethLavrsen - 15 Mar 2010
Tasks.Item8708 also reported this, and annoyingly, I comited a unit test to it.
--
SvenDowideit - 15 Mar 2010
reopening to remove a debugging unit test which fails 7 days later...