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

Item5794: potential dataloss bug in EditTablePlugin 4.8.2

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Urgent Closed   patch 4.2.1

Edit Form Data

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

Detail

I believe that I have found a serious potential dataloss bug in the latest version of EditTablePlugin. (this does not reproduce in 4.7.10, $Rev: 16239 (25 Jan 2008) but does reproduce with 4.8.2, $Rev: 16617 (07 Apr 2008) $) .

Most users won't run into this -- unless they do something unusual or make a minor error in their TML syntax. :-(

Create an "unusual" situation like this:

%EDITTABLE{}%

| col 1 | col 2 | col 3 |
| dog | fish | cow |

In the "previous" version of EditTable , this would result in a button (for an empty ediitable table) above an uneditable table with two rows.

In the 4.8.2 version of EditTable , this results in only an "empty" button. The other table is not presented. Worse, if you click the button and add a row, the "uneditable" table is removed from the page source.

Discovered when a user mistakenly edited an existing table as

%EDITTABLE{}%
<font size="-2">
| col 1 | col 2 | col 3 |
| dog | fish | cow |

Good fortune - the user panicked when the table "disappeared" and did not click the edit button.

vb_screenshot.jpg

-- TWiki:Main/VickiBrown - 18 Jul 2008

Found a fix.

-- TWiki:Main/ArthurClemens - 19 Jul 2008

Cool. Waiting impatiently for the update!

-- TWiki:Main.VickiBrown - 24 Jul 2008

I have updated the plugin at twiki.org.

-- TWiki:Main.ArthurClemens - 27 Jul 2008

ItemTemplate
Summary potential dataloss bug in EditTablePlugin 4.8.2
ReportedBy TWiki:Main.VickiBrown
Codebase 4.0.5, 4.1.2
SVN Range TWiki-5.0.0, Thu, 17 Jul 2008, build 17046
AppliesTo Extension
Component EditTablePlugin
Priority Urgent
CurrentState Closed
WaitingFor

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