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

Item7379: Clicking an edit table button and then saving it may add a blank row

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Low Closed   patch 6.0.1

Edit Form Data

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

Detail

If the following conditions are met, clicking the table edit button and then saving the table without doing anything else results in a blank row added to the table.
  • %EDITTABLE{...}% is preceeded by %TABLE{...}%
  • That %TABLE{...}% has the headerrows parameter
  • The headerrows parameter value is equal to or greater than the number of existing table rows
The following lines can reproduce the symptom
%TABLE{headerrows="2"}%
%EDITTABLE{}%
| *Column1* | *Column2* | *Column3* |

Click on "edit" button, there'll be a blank row appended.

The following lines also shows the symptom.

%TABLE{headerrows="2"}%
%EDITTABLE{}%
| *Column1* | *Column2* | *Column3* |
| 1 | 2 | 3 |

-- TWiki:Main/YaojunFei - 2013-11-11

ItemTemplate
Summary Clicking an edit table button and then saving it may add a blank row
ReportedBy TWiki:Main.YaojunFei
Codebase ~twiki4, 6.0.0
SVN Range TWiki-6.0.0, Mon, 14 Oct 2013, build 26523
AppliesTo Extension
Component EditTablePlugin
Priority Low
CurrentState Closed
WaitingFor

Checkins TWikirev:26591 TWikirev:26593 TWikirev:26594 TWikirev:26595 TWikirev:26603 TWikirev:26606 TWikirev:26611 TWikirev:26612
TargetRelease patch
ReleasedIn 6.0.1
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2014-10-06 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback