Tags:
create new tag
, view all tags

Question

Tracking display %EDITCELL{date}% in addition to iteration's dates, ex.

iter summary StartDte EndDate ...
name some 04-17-2006 11-30-2006 ...

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

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, CommentPlugin, EmptyPlugin, InterwikiPlugin, EditTablePlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin, WysiwygPlugin, XpTrackerPlugin
Server OS: Ubuntu Dapper 6.06
Web server: Apache2 2.0.55-4
Perl version: 5.8.7-10ubuntu1
Client OS: Ubuntu Dapper 6.06
Web Browser: firefox 1.5.dfsg+1.5.0.1-1ubuntu12
Categories: Plugins

-- ManuelSoto - 24 Apr 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r10 - 2006-07-11 - PatrickNomblot
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.