Description

Conversion error when attempting to preview source from gui editor

ConvertError
ExpatError: mismatched tag: line 390, column 155

Steps to reproduce

  1. open http://moinmoin.wikiwikiweb.de/PageNames

  2. Click on Edit(GUI)
  3. Click on the Source button
  4. Click on preview

Details

This Wiki.

Browser effected:

Workaround

Discussion

This bug was deleted, but I can still reproduce the problem.

(I've re-attached todays bug report. Do we really just delete pages when the bug is fixed? I would have guessed that it would have been moved to a "Fixed" or "can't reproduce" locattion.)

PageNames#preview.htm

It happens when trying to access the GUI editor from Safari which is not supported by that editor. All the text is converted to html in side the simple editor, then the converter fail when trying to preview.

The correct behavior in this case is not to show the Edit(GUI) button on Safari, and showing an error when you try to access the gui editor url and the browser does not support the needed javascript.

TBD: place link here to cross-reference the bug report to the bug report and documentation where Internet Explorer doesn't support GUI editing.

The problem is that the current HTML to moin transformer expects the browser to fixup weirdnesses in the formatter. See output.txt for the data that is submit by the browsers. First one is the HTML that has gone through the normal process and the second one was sent by IE after clicking preview (which yields an exception).

Dumb question: What is is source button doing there? And isn't it supposed to be removed before the release? -- FlorianFesti 2005-12-01 07:56:16

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/GuiEditClickSourceClickPreviewBroken (last edited 2009-07-03 11:08:24 by AlexanderSchremmer)