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
screenshot after clicking edit:
I am not disputing that header="on" is inappropriate syntax. However
-
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.
- apparently
header
ignored the closing "
- 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