Item2229: EditRowPlugin dies horribly, needs better headings support

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: EditRowPlugin
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: CrawfordCurrie

Context

Multi-line table headings are required. The headings are common; it is desirable to have them unified and defined in one place. An include param to a topic with the desired EDITTABLE{header= setup appears to be insufficient.

This mess then followed:

%EDITTABLE% 
%INCLUDE{"%TOPIC%" section="header"}%
| a | 1 |
| b | 2 |
| c | 3 |
| d | 4 |

%STARTSECTION{"header"}% | *Heading1* | *Heading2* |%ENDSECTION{"header"}%

When clicking the "edit whole table" link, this happens:

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Can't call method "renderForEdit" on an undefined value

Apache error logs attached.

-- PaulHarvey - 09 Oct 2009


It's unreasonable to expect any table editing plugin to cope with a scenario where the table is composed using macros. But it shouldn't crash.

-- CrawfordCurrie - 10 Sep 2010

Fixed

-- CrawfordCurrie - 14 Feb 2011

ItemTemplate edit

Summary EditRowPlugin dies horribly, needs better headings support
ReportedBy PaulHarvey
Codebase trunk
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
I Attachment Action Size Date Who Comment
error_logEXT error_log manage 4 K 09 Oct 2009 - 04:55 PaulHarvey  
Topic revision: r4 - 14 Feb 2011, CrawfordCurrie
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