Description

Bug is table (cell) alignment problems if you use the GUI editor (something that was previously left aligned when created in text mode, becomes centre aligned). Also some minor (poss. intermittent) problems with the preview of tables when in GUI mode.

Probably something to do with style information getting confused within a merged cell?? E.g.

||||||||<(> '''Short description of project:''' ||
becomes
||||||||<style="text-align: center;"> '''Short description of project:''' ||

Whereas
||<(>'''Funding body''' (if appropriate): ||||||<(> JISC ||
becomes
||<style="text-align: left;">'''Funding body''' (if appropriate): ||||||<style="text-align: center;"> JISC ||

Steps to reproduce

  1. Create a nice table in text mode
  2. Use "<(> markup

  3. Make sure that you have some merged cells (doesn't matter if you use "||||" or "||<-2>")

  4. Save.
  5. Edit table in GUI mode

Table is misaligned when previewed and saved. Also, occasionally, during preview, the Table is broken up, but it tends to get reassembled when it is saved.

Example

URL: http://moinmoin.wikiwikiweb.de/WikiSandBox#TableGUIbugs (but I imagine that the Sandbox might get wiped occasionally).

Example wiki markup that fails

||<(> '''Name of project:''' ||<(> ESP-GRID ||||||
||<(> '''Start date:''' ||  1 July 04 || '''(Probable) End date:''' || 30 Apr 06 ||
||||<(> '''Section of OUCS leading project:''' ||||<(> RTS ||
||<(>'''Funding body''' (if appropriate): ||||||<(> JISC ||
||<(>'''Main contact:''' ||||||<(> Mark Norman ||
||<(>'''Link to project web site:''' ||<(> http://www.oerc.ox.ac.uk/activities/projects/eprojects/esp-grid/ ||<(>'''Link to project news feed''' (if appropriate): ||<(> ||
||<(>'''Link to project wiki''' (if appropriate): ||||||<(> http://wiki.oucs.ox.ac.uk/esp-grid/  ||
||||||||<(> '''Short description of project:''' ||
||||||||<(> Text text text text text text ||
||<(> '''List of key words describing technologies etc.''' ||||||<(> Shibboleth, Grid, X.509, Digital certificates, Portals, SAML ||

Name of project:

ESP-GRID

Start date:

1 July 04

(Probable) End date:

30 Apr 06

Section of OUCS leading project:

RTS

Funding body (if appropriate):

JISC

Main contact:

Mark Norman

Link to project web site:

http://www.oerc.ox.ac.uk/activities/projects/eprojects/esp-grid/

Link to project news feed (if appropriate):

Link to project wiki (if appropriate):

http://wiki.oucs.ox.ac.uk/esp-grid/

Short description of project:

Text text text text text text

List of key words describing technologies etc.

Shibboleth, Grid, X.509, Digital certificates, Portals, SAML

Name of project:

ESP-GRID

Start date:

1 July 04

(Probable) End date:

30 Apr 06

Section of OUCS leading project:

RTS

Funding body (if appropriate):

JISC

Main contact:

Mark Norman

Link to project web site:

http://www.oerc.ox.ac.uk/activities/projects/eprojects/esp-grid/

Link to project news feed (if appropriate):

Link to project wiki (if appropriate):

http://wiki.oucs.ox.ac.uk/esp-grid/

Short description of project:

Text text text text text text Added some text here to see what happens when I edit via the GUI

List of key words describing technologies etc.

Shibboleth, Grid, X.509, Digital certificates, Portals, SAML

Details

MoinMoin Version

Not sure - it definitely is like this in 1.5.3 (but I imagine that the Sandbox is maybe at 1.5.4??? (Not sure how you tell)

All of the rest of this is probably irrelevant (as it happens at our site and at the moinmoin.wikiwikiweb.de site) but I've pasted in the details of our site:

OS and Version

Debian 1:3.3.5-12

Python Version

2.4.1

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

English UK

Workaround

Just don't use the GUI editor - but this is a shame as using the GUI with tables would be really useful for us. (You can set up the table and then get people who aren't familiar with complex table wiki code to just use the GUI editor to fill it in).

If you do manage to make any progress with this (I haven't created an account with moinmoin....de, but you could email me at mark DOT normanAToucs.ox.ac.uk

Discussion

The bug was caused by auto-adding "center" alignment for spanning columns if there was no align attribute. It didn't check for the style attribute, so this got lost.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/TableAlignmentProbsWithGUI (last edited 2007-10-29 19:12:05 by localhost)