• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item6324: Editing table 1 removes EDITCELL tag from the other table

Item Form Data

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

Edit Form Data

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

Detail

-- TWiki:Main/CatherineLiegois - 16 Sep 2009

I have 2 tables :

- Table 1 with : format=textarea
example: {format=" textarea, 3x70, Name" changerows="off" quietsave="off"}

- Table 2 with EDITCELL tag
example : | Status | Status %EDITCELL{select,1 , Status, Notified, Proposal, Notified, Terminated}% |

If I edit Table 1 before Table 2, the EDITCELL tag in Table 2 is removed.

I have installed the latest twiki update for the EditTablePlugin : 17 Apr 2009-Release 4.9.1

-- TWiki:Main.NickThorpe - 12 Apr 2010

To fix this I suggest adding:

elsif($doSave) { $text .= $theRow; }

Below the if ($doEdit) block in sub handleTableRow. This appears sufficient to prevent the removal of EDITCELL in the unchanged tables by the final else block. I'm going with this change on my group's local Twiki install for now.

-- TWiki:Main.NickThorpe - 12 Apr 2010

Thanks Nick for providing patch for this issue. Yes, it was a bug.

Thanks TWiki:Main/CatherineLiegois for reporting the issue.

I have checked in the code provided by you.

--TWiki:Main.SopanShewale

ItemTemplate
Summary Editing table 1 removes EDITCELL tag from the other table
ReportedBy TWiki:Main.CatherineLiegois
Codebase 4.2.2
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Extension
Component EditTablePlugin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:18791 TWikirev:18793 TWikirev:18794 TWikirev:18795
TargetRelease patch
ReleasedIn 5.0.0
Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2010-05-31 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback