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
- Create a nice table in text mode
Use "<(> markup
Make sure that you have some merged cells (doesn't matter if you use "||||" or "||<-2>")
- Save.
- 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
- Here's the raw markup
||<(> '''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 ||
- Here's what it should look like (but this could get screwed if you open this in the GUI editor)
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): |
|||
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 |
- Here's what happens to it when edited in the GUI
- alignment problems and
- problems of table breaking up when you preview
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): |
|||
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
- Priority:
- Assigned to:
- Status: fixed in moin 1.5 branch