• 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.

Item6237: header="on" changes header cell contents of working table

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Normal New   n/a  

Edit Form Data

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

Detail

One of our users had an Editable Table coinfigured like this:

%EDITTABLE{header="on" changerows="on" format="|textarea, 10x20|textarea, 10x20|textarea, 10x30|select, 3, Yes, No|textarea, 10x20|"}%

That's incorrect syntax for the header parameter.

Prior to upgrading to TWiki 4.2.4, this incorrect syntax was apparently ignored.

After upgrading, when the Edit button was clicked, the table header was changed to be the format values. Weird.

screenshot: of table
Item6237_ss1.jpg

screenshot after clicking edit:
Item6237_ss2.jpg

I am not disputing that header="on" is inappropriate syntax. However

  1. header is supposed to define the headers for a new table created by a button. I don't th9ink it should affect hexisting headers for an extant table.
  2. apparently header ignored the closing "
  3. Using the following format values as header text is just too weird

-- TWiki:Main/VickiBrown - 03 Apr 2009

I note that if the header is of "expected" format, EditTable uses it even if the table already exists and has a header. I'm not sure if that's a bug or a feature. Personally, I think EditTable should ignore the header="..." param once the table exists, but that's arguable either way. I'm most concerned about the behaviour if header="on".

-- TWiki:Main.VickiBrown - 06 Apr 2009

ItemTemplate
Summary header="on" changes header cell contents of working table
ReportedBy TWiki:Main.VickiBrown
Codebase

SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Extension
Component EditTablePlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg Item6237_ss1.jpg r1 manage 6.3 K 2009-04-03 - 22:29 UnknownUser screenshot
JPEGjpg Item6237_ss2.jpg r1 manage 28.6 K 2009-04-03 - 22:30 UnknownUser screenshot
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2009-04-06 - VickiBrown
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback