You are here: Foswiki>Tasks Web>Item1194 (04 Mar 2009, ArthurClemens)Edit Attach

Item1194: EditTablePlugin can again not handle macros in its format string

pencil
Priority: Urgent
Current State: Closed
Released In: 1.0.4
Target Release: patch
Applies To: Extension
Component: EditTablePlugin
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: ArthurClemens
Again I report an old bug that is back

This example below does not work.

First the EDITTABLE format string looks awful in nornal view

And it is obvious that EDITTABLE parser stops at the first }% it sees which is the end of SERVERTIME. Seems like a regex problem.

  • Set MYNAMES = Ed, Kenneth,Benny
  • Set EXTRACT = R0:C1..R0:C-1

Startdate Stopdate Who What/Where Icon Details
3 Jan 2008
24 Jan 2008
Kenneth
Vacation
big grin
3 Jan 2008 - 24 Jan 2008 - Kenneth - Vacation - big grin

-- KennethLavrsen - 03 Mar 2009

It works here so it was injected recently

-- KennethLavrsen - 03 Mar 2009

The final solution is to make the EDITTABLE regex greedy, and to put TABLE (if any) on a new line.

-- ArthurClemens - 04 Mar 2009

ItemTemplate edit

Summary EditTablePlugin can again not handle macros in its format string
ReportedBy KennethLavrsen
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component EditTablePlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:f7ce23fe99e0 distro:ab7d02ae1bd7 distro:83c367614399 Rev 2858 not found distro:e01a3c80608a distro:b76b28bcb25e
TargetRelease patch
ReleasedIn 1.0.4
Topic revision: r10 - 04 Mar 2009, ArthurClemens
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