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

Item6279: Bad syntax in label format confuses EDITTABLE; overrides next format field.

Item Form Data

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

Edit Form Data

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

Detail

A co-worker tried
%EDITTABLE{format="| label,"25%" | select,1,include,exclude | label,20 |"}%
-- TWiki:Main/VickiBrown - 11 Jun 2009

Items in column 2 were treated as labels.

I'm not arguing the incorrect syntax of label,"25%" but it violates the Principle of Least Surprise for this to get so confused as to run over the select and demolish it. :-)

Since label expects a size of 0 after the , I suggest treating anything after the , as a 0 (and printing n appropriate message to the log).

ItemTemplate
Summary Bad syntax in label format confuses EDITTABLE; overrides next format field.
ReportedBy TWiki:Main.VickiBrown
Codebase 4.2.4
SVN Range TWiki-5.0.0, Sat, 18 Apr 2009, build 18024
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2009-06-11 - VickiBrown
 
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