Tags:
create new tag
, view all tags

Question

EditTablePlugin and SpreadsheetPlugin are working independently. Howerver the following combination is not working for me.

Cluster Owner Cumulative Status
A1 Owner1 A
A2 Owner2 B
A3 Owner3 C
TOTAL: 3   A: 1
B: 1
C: 1

If I click edit (table) and then save, then I get duplicate summary (last) row.

The twiki server is not in my control. So not providing the other info.

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Add-Ons

-- AmitTendulkar - 25 Aug 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

> The twiki server is not in my control. So not providing the other info

Regardless, the TWiki version is pretty important, in case there's a version-specific bug in play. It seems to work OK on this site.

What does it say on the WebHome topic of your TWiki web? E.g., TWiki.WebHome on this site says, "This site is running TWiki version TWiki-4.1.1, Mon, 05 Feb 2007, build 12770, Plugin API version 1.11"

-- SeanCMorgan - 25 Aug 2008

Okay, I got what the issue on this TWiki (4.1.1?) as well. So you can debug it here itself. smile

There are two issues,

  • Issue1: If a table line contains a \ character for continuation of the table text to the new line then the edit table creates a duplicate row (without the "\\n")
  • Issue2: I have noticed that if there are multiple tables on a TWiki topic using the EditTablePlugin and SpreadsheetPlugin combination then the edit table on the table at the end of the page doesn't work.

To reproduce create two tables with the following code,

EditTablePlugin and SpreadsheetPlugin combination1

Cluster Owner Cumulative Status
A1 Owner1 A
A2 Owner2 B
A3 Owner3 B
TOTAL: 3   A: 1
B: 2

EditTablePlugin and SpreadsheetPlugin combination2

Cluster Owner Cumulative Status
A1 Owner1 A
A2 Owner2 B
A3 Owner3 B
TOTAL: 3   A: 1
B: 2

The second table in this code will behave badly.

-- AmitTendulkar - 27 Aug 2008

I have reproduced this issue on AmitTendulkarRough if you face difficulty of reproducing it here (edit the tables from the top section and the last section on the page. The first table can be seamlessly edited and the last table seems to lose its properties.)

-- AmitTendulkar - 27 Aug 2008

Amit

I just tried adding 'footerrows="1"' to your tables on the test page (which should be in the Sandbox, by the way) and the problem still persists. In fact, the new EditTablePlugin code is partially ignoring the footerrows parameter as it still adds the move and delete icons to each end of the footer row itself.

Have you reported this on the EditTablePluginDev page?

-- DuncanKinnear - 01 Sep 2008

I am sorry I am not yet accustomed to the TWiki culture :). I thought the sandbox gets cleaned up periodically. I wanted a permanent page to practice on. I haven't reported this to EditTablePluginDev. I will check there and drop a message there by EOD.

-- AmitTendulkar - 01 Sep 2008

In which web exactly does the EditTablePluginDev topic exist?

-- AmitTendulkar - 02 Sep 2008

Hi Amit, try to post your issue at both - EditTablePluginDev and SpreadSheetPluginDev topics

-- SopanShewale - 02 Sep 2008

Done

-- AmitTendulkar - 03 Sep 2008

Any footerrows parameter should be written to the TABLE variable, just above or below the EDITTABLE variable. The javascript interface ignoring this parameter can be marked as a bug.

-- ArthurClemens - 08 Oct 2008

Closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 10 Dec 2008

Change status to:
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2008-12-10 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.