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

Item5757: footerrows parameter not handled correctly

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditRowPlugin Normal New   n/a  

Edit Form Data

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

Detail

EditRowPlugin 15736 (24 Nov 2007) has a problem in handling of footerrows. The parameter obviously does something (prevents editing the footer row) but the saved result damages the footer row. I have seen 2 behaviours. The "simple one" is shown first

Test case 1

Just hit the edit icon (for the table), don't actually change anything, and hit save icon. The last row is now blank....

%EDITTABLE{ headerrows="1" changerows="add" footerrows="1" keywordlock="LOCKED" header="|*A*|*B*|*C*|*D*|" format="| text,10,aaa |text,10,bbb |text,10,ccc|text,10,ddd" }%
| A | B | C | D |
| 1 | 2 | 3 | 4 |
| a | b | c | d |

Test case 2

Just hit the edit icon (for the table), don't actually change anything, and hit save icon. The last row is now blank except for the last column "d" - presumably because the format calls for this column to have a fixed value and it never tries to save a new value for it???.

%EDITTABLE{ headerrows="1" changerows="add" footerrows="1" keywordlock="LOCKED" header="|*A*|*B*|*C*|*D*|" format="| text,10,aaa |text,10,bbb |text,10,ccc|label,0,ddd" }%
| A | B | C | D |
| 1 | 2 | 3 | ddd |
| a | b | c |  d |

-- TWiki:Main/DarrylGreen - 07 Jul 2008

ItemTemplate
Summary footerrows parameter not handled correctly
ReportedBy TWiki:Main.DarrylGreen
Codebase

SVN Range TWiki-5.0.0, Mon, 30 Jun 2008, build 16955
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2008-07-08 - DarrylGreen
 
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