• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6005: EditTablePlugin: "label"-formatted cell changed in unexpected way

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Normal Closed   patch 4.3.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

A co-worker brought this to my attention.

Start with a table like this

%EDITTABLE{format="|label|textarea,3x30|"}%
| | Games | Finance | Sports | News |
| %GREEN% Migration sequence # %ENDCOLOR% <br /> _not required at this time_ | | | | | 
| # of space ids  | | | | |

Save it:

screenshot1.jpg

Click the Edit button:

screenshot2.jpg

Click Save:

screenshot3.jpg

Look at what happened to the GREEN cell content.

On the back side (Raw view) it looks like this

%EDITTABLE{format="|label|textarea,3x30|"}%
| | Games | Finance | Sports | News |
| %E</em>T_P_NOPGREEN% Migration sequence # %ENDCOLOR% <br /> _not required at this time_ | | | | |
| # of space ids | | | | |
<nop>

Workaround

I tried
  • bolding the header cells with =*...*.
  • ensuring that the upper left cell has something in it
to no avail

Then I tried replacing the TWikiML with HTML

| %GREEN% Migration sequence # %ENDCOLOR% <br /> <i>not required at this time</i> | | | | | 

So, there's a workaround. But this needs to be found and fixed.

-- TWiki:Main/VickiBrown - 20 Sep 2008

In any case comething is wrong with the plugin: after editing the url returns to viewauth, and the EDITTABLE tag is no longer parsed: Item6008.

The problem on your bug is that the italic text is somehow rendered and the variable placeholder gets mangled.

I found that with a label cell:

  1. TML is stripped too agressively
  2. no space is written between TML and the hidden input field

Fixed this.

-- TWiki:Main.ArthurClemens - 21 Sep 2008

ItemTemplate
Summary EditTablePlugin: "label"-formatted cell changed in unexpected way
ReportedBy TWiki:Main.VickiBrown
Codebase 4.2.2
SVN Range TWiki-5.0.0, Fri, 12 Sep 2008, build 17509
AppliesTo Extension
Component EditTablePlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17530 TWikirev:17531
TargetRelease patch
ReleasedIn 4.3.0
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2009-04-08 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback