Question
Tracking display %EDITCELL{date}% in addition to iteration's dates, ex.
TWiki module in
@INC
path:
OK, TWiki.pm found (TWiki version: unknown)
* Required Perl modules:
-
- CGI (3.10)
- CGI::Carp (1.29)
- File::Copy (2.08)
- File::Spec (3.05)
- FileHandle (2.01)
- Digest::SHA1 (2.10)
- MIME::Base64 (3.05)
- Net::SMTP (2.29)
- Optional Perl modules:
- Algorithm::Diff (1.1901)
- MIME::Base64 (3.05)
- POSIX (1.08)
- Encode (2.10)
- Unicode::MapUTF8 (1.09)
- Unicode::Map (0.112)
- Unicode::Map8 (0.12)
- Jcode (2.03)
- Digest::MD5 (2.33)
Environment
--
ManuelSoto - 24 Apr 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
As documented in
EditTablePlugin, tables with cells contauning
%EDITCELL{}% need to have a preceeding
%EDITTABLE{}%. I fixed above example.
--
PeterThoeny - 28 Apr 2006
But the table come from the
XpTrackerPlugin. This is the output of
%XPSHOWPROJECTITERATIONS{TrackingIncorrectStartEndIterationDate}%
--
ManuelSoto - 07 May 2006
I've
EditTablePlugin enable and recently download the latest published to be sure to complain requirements
--
ManuelSoto - 07 May 2006
Acording to
http://twiki.org/cgi-bin/view/Plugins/XpTrackerPluginRequests#EDITCELL_strings_appearing_in_so
There is a bug in
XpTracker but if I fix mentioned .pm files I get
EditTable variable as row text displayed before the table.
--
ManuelSoto - 07 May 2006
Finally it's working but require some fixes to
XpTracker Modules (
XpTrackerPluginDev.ShowProjectIterations and
XpTrackerPluginDev.ShowItemIterations)
TWiki is not processing plugins recursivelly, then, I make a call inside
XpTracker to
EditTable plugin
Change to TWiki::Plugins::XpTrackerPlugin::ShowProjectIterations
eval ("use TWiki::Plugins::EditTablePlugin;");#MRS
$list= TWiki::Plugins::EditTablePlugin::commonTagsHandler($list,$project,$web); #MRS
return $list;
}
Change to TWiki::Plugins::XpTrackerPlugin::ShowTeamIterations
eval ("use TWiki::Plugins::EditTablePlugin;");#MRS
$list= TWiki::Plugins::EditTablePlugin::commonTagsHandler($list,$project,$web); #MRS
# append CreateNewIteration form
...
--
ManuelSoto - 07 May 2006
Thanks! I added a note to the
XpTrackerPluginDev topic.
--
PeterThoeny - 07 May 2006
Nevermind, I just discovered that yo ualready posted a link in
XpTrackerPluginProblems.
--
PeterThoeny - 07 May 2006
This is weird. The renderer should be catching up this. I feel very uneasy calling one plugin from another one. Try changing the Plugin evaluation order so
XpTrackerPlugin comes before
EditTablePlugins
--
RafaelAlvarez - 10 May 2006
Setting plugin order does not solve the problem but, as a quick and durty solution, add line
$_[0] =~ s/%EDITCELL{[^}]+}%/ /g;
in
XpTrackerPlugin --> commonTagsHandler and make sure
EditTablePlugin is called before
XpTrackerPlugin in TWiki configure.
Hope that this help and gives time to author to find a better solution.
--
PatrickNomblot - 11 Jul 2006