Description

When using the GUI editor, previewing can cause the contents of a newly-created bulleted list to be deleted.

Steps to reproduce

  1. Edit a page using the GUI editor
  2. Create a blank line, and use the button to create a new bulleted list
  3. Type some text for the bullet, then click the preview button.
  4. Go back into the editor control, and you will notice that your text has disappeared.

Example

Below is a bulleted list created in GUI mode. The first line said Hello, the second said Good-bye. Previewed and then saved.

foo

You might not be able to reproduce the bug several times if you stay in GUI mode. To get it systematically:

  1. Goto to text mode, remove all text and enter text on the first line
  2. Switch to GUI mode, create a second line, create a bullet with the button and add some text
  3. Preview the page => the text on the bulleted line has disappeared -- JeanJacquesKahn 2006-06-16 15:40:00

Details

Workaround

  1. Click the button to create a bulleted list
  2. Preview before adding any text
  3. It should be safe to add text at this point.

or:

Discussion

Does not affect lists that existed before going into the GUI editor, but wipes out any list created during the the current session.

Saving or trying to switch back to the text editor has the same effect as previewing. If previewing wipes out the text and you add it back, it seems to stick around after that. It only triggers when you create a new bulleted list where there was none.

UPDATE: Just reproduced this on the current release (1.5.3). I was not able to reproduce it on 1.5.2-rc2, but maybe I did something wrong (or maybe it was fixed in rc2 and got lost in release). This bug is alive and well. Re-opened. -- SteveDavison 2006-04-17 21:43:08

We either need more details about what goes wrong with IE (html level) or have some IE user fix it. -- ThomasWaldmann 2006-05-07 11:48:04

(JenniferVanderputten): I can reproduce this regularly -- let me know what else I can do to get the html information you need (special debug modes?). Just using the "source" button to view html source before and after hitting preview, I get this:

{{{Before: <ul><li><div class="line874">one</div></li><li><div class="line874">two</div></li><li><div class="line874">three</div></li></ul>}}}

{{{After: <ul><li></li><li></li><li></li></ul>}}}

(FernandoCorreia) This problem also occurs on moin-desktop-1.5.3-1.exe and on the currently online version at http://moinmoin.wikiwikiweb.de. This is very annoying, since it leads to loss of work. I'm having second thoughts about using MoinMoin in my workgroup, because if people lose work they won't accept using this wiki. And not being able to use the GUI Editor will also limit the acceptance of this application. (2006-06-01)

After financing the initial GUI integration, we have been delaying the deployment of the GUI wiki for months because of these bulleted text problems with IE. -- -- JeanJacquesKahn 2006-06-16 15:40:00

Quoting the code:

            result.append(self.formatter.paragraph(1, css_class="line874"))

This is the only place we emit class="line874" - as a paragraph tag <p class="line874">...</p>.

How comes we get back unexpected div from IE with this class? Does this make any sense? -- ThomasWaldmann 2006-06-19 08:03:04

Plan

Messages

Since this is fixed in 1.5 branch will it be available in an upcoming release (e.g. 1.5.4)? If so, is there any rough idea when? Thanks --JenniferVanderputten

Thank you thank you thank you thank you! :)) -- JenniferVanderputten


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/GuiEditorDeletesNewBulletText (last edited 2007-10-29 19:06:35 by localhost)