Item12954: Table gets broken when editing via edit button and inserting a new row.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: EditRowPlugin
Branches:
Reported By: WolfgangAlper
Waiting For:
Last Change By: GeorgeClark
When using the EDIT Botton to edit a table and inserting a new row, the table gets broken.

Before:
%EDITTABLE{
 format="|row,-1|text,20,init|select,1,one,two,three,four|radio,3,:-),:-I,:-(|date,20|"
 changerows="on"
 headerrows="1"
}%
| *Nr* | *Text* | *one* | *Mood* | *date* |
|1| init4 | two | :-( | 15 Jun 2014 |
|2| init5 |two|:-I|9 Jul 2014|
|3| init6 | three | :-( | 16 Jun 2014 |

When hitting edit, header looks ok.

After clicking on icon to add a new row it looks strange. The header seem to have moved into the new row, and the new row seems to be the header.

Just hitting save now, without editing anything.

After:
%EDITTABLE{
 format="|row,-1|text,20,init|select,1,one,two,three,four|radio,3,:-),:-I,:-(|date,20|"
 changerows="on"
 headerrows="1"
}%
||init||||
| *Nr* | *Text* | *one* | *:-)* | *date* |
|1| init4 | two | :-( | 15 Jun 2014 |
|2| init5 |two|:-I|9 Jul 2014|
|3| init6 | three | :-( | 16 Jun 2014 |

I put it on urgent, bc it destroys the table.

-- WolfgangAlper - 02 Jul 2014

Have the same problem. Would love to see it fixed. I've even built a foswiki with a bare minimum of dependencies to determine if something was conflicting with it. Same issue. I can alter the behavior, by taking out the header form the table and using "headers=" parameters, but this introduces another problem. It adds two lines of headers!

-- DangloDershai - 02 Sep 2014

This appears to be fixed on the master (Foswiki 1.2) version. I could not recreate it.

Test case in http://trunk.foswiki.org/Sandbox/TestBoldBullets

-- GeorgeClark - 18 Dec 2014

 

ItemTemplate edit

Summary Table gets broken when editing via edit button and inserting a new row.
ReportedBy WolfgangAlper
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component EditRowPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy