Item2016: EditRowPlugin doesn't save "0" (zero) in table cells

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

Description

If you enter a "0" into a table cell using EditRowPlugin, this cell will be saved as empty.


Fixed

-- CrawfordCurrie - 14 Feb 2011

Thanks!

-- PhilippLeufke - 22 Feb 2011

Reopening the bug: But now it should rather be called "EditRowPlugin doesn't read "0" in table cells"

If you edit a already (partially) filled table or row, where any cell only consists of a "0", then this "0" will be interpreted as empty.

-- PhilippLeufke - 23 Feb 2011

Curse ||

-- CrawfordCurrie - 14 Mar 2011

I can't tell, if this bug is supposed to be fixed in the debian packages I use (debian version 110226-215, foswiki version 10810 (2011-02-25)) but as I stumbled upon it, I want to post it:

Entering a "0" into a cell via the Ajax-interface (double-click on the cell), will also result in an empty cell.

For the other bugs you Crawford fixed earlier, I'm waiting for the debian packages and will continue testing...

(Not reopening the bug as I'm unsure by now...)

-- PhilippLeufke - 24 Mar 2011

Again reopening the bug, but for a minor issue...

In single-cell edit mode, saving a zero will work, but the "0" will only show up upon reloading the topic. Before reloading, it will only show the "Click to edit" message. -- PhilippLeufke - 25 May 2011

The click to edit message disappeared some time ago (though I may not have released the update to Extensions web yet). However there does seem to be a related problem.

-- CrawfordCurrie - 25 May 2011

Failure to save a 0 is actually due to a core bug. Worked around it (and fixed the core bug too).

-- CrawfordCurrie - 25 May 2011

ItemTemplate edit

Summary EditRowPlugin doesn't save "0" (zero) in table cells
ReportedBy PhilippLeufke
Codebase 1.0.10, 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:30a5f5d7af30 distro:228ddd539893
TargetRelease n/a
ReleasedIn n/a
Topic revision: r14 - 25 May 2011, CrawfordCurrie - This page was cached on 31 Jul 2016 - 03:41.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License