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

Item5208: EDITTABLE problem with spaces (alignment) and stars (*) in labels

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Low Closed   minor 4.2.0

Edit Form Data

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

Detail

Have a look at LitterTray.EditTableIncludedSearchProblem, especially the textarea. With each edit table cycle another space is added to the rows in the textarea.

Also note the stars (*) in the right label column. They are removed as soon as you save the table so please add them again afterwards so that others get the chance to see that bug too!

There's a third problem with this table: sometimes values (seen in rows Services and Status) are right aligned instead of stay left aligned because editing adds spaces!

All the dirty tricks I'm doing worked with older versions of TWiki:Plugins.EditTablePlugin (before the ugly JavaScript features were introduced!)

Will test TWiki:Plugins.EditRowPlugin again, but that is another story. frown

-- TWiki:Main/FranzJosefGigler - 04 Jan 2008

When I copy a simplified version to my own TWiki I also notice that the cell with the table gets trunkated.

There is something totally wrong in the way edittable works.

Problem now is that this bug report already covers at least 3 bugs. We need them split up and the test case simplified. There is too much searching etc to make it easy to reproduce. It is best to raise many individual bug reports.

And they are not low priority. They are release blockers because what I have seen is tables goofed totally up so the entire rendering of the topic is destroyed (left menu bar is inside table).

-- TWiki:Main.KennethLavrsen - 05 Jan 2008

I have split out the table trunkation item out in Item5210 which turns out to be a problem with trunkation of the line because there is a break in it. That became a low priority bug item. But it also makes the EditTableIncludedSearchProblem fail more than it needs to which is why it is so important to seperate bugs in individual reports.

-- TWiki:Main.KennethLavrsen - 05 Jan 2008

OK here is the simplified test case for the original problem report

If you have an asterix (*) as a leading asterix it gets cut off when you save

in verbatim

%EDITTABLE{ changerows="off" quietsave="off" format="|label,1 |text,10|label,1|" }%
| Status: | In Work  | * Project * status |

and in real life

Status: In Work * Project * status

If you try it here please add the "space asterix space" in front of Project. The middle asterix is there to show that it is only the leading asterix that gets eaten.

Now that I know the root cause of the bad rendering I lower to low again. The bad rendering happened because my local copy of the test case did not have a successful search and my simplification to avoid an error was too simple.

-- KennethLavrsen - 05 Jan 2008

The adding of spaces after BR in textareas has been put in an urgent bug Item5211.

-- TWiki:Main.KennethLavrsen - 05 Jan 2008

I have not been able to reproduce the right align problem. Franz please raise a new report on that with a test case that shows that particular problem and the steps to see the problem.

This leaves this report with ONE open bug item which is not split out in other reports and that it the low priority eating of leading asterixes in labels.

-- TWiki:Main.KennethLavrsen - 05 Jan 2008

I have fixed the right alignment of EDITCELL elements. I cannot reproduce the eating of stars. Perhaps it has been fixed with Item5211?

-- TWiki:Main.ArthurClemens - 05 Jan 2008

ItemTemplate
Summary EDITTABLE problem with spaces (alignment) and stars (*) in labels
ReportedBy TWiki:Main.FranzJosefGigler
Codebase 4.2.0
SVN Range TWiki-4.3.0, Sun, 30 Dec 2007, build 16120
AppliesTo Extension
Component EditTablePlugin
Priority Low
CurrentState Closed
WaitingFor

Checkins TWikirev:16150 TWikirev:16151
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-01-05 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback