Item2229: EditRowPlugin dies horribly, needs better headings support
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
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