Sorry, this is not very complete report but the bug seems serious. I can't reproduce the bug since I don't know what the user exactly did - reportedly just plain edit. From the logs: the call:
"POST /bin/save/Main/FIUGINET HTTP/1.1" 200 157 "http://geoinformatics.tkk.fi/bin/edit/Main/FIUGINET?t=1224047956" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6"
the error
Use of uninitialized value in pattern match (m//) at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 620.,referer:
http://geoinformatics.tkk.fi/bin/edit/Main/FIUGINET?t=1224047956
Use of uninitialized value in pattern match (m//) at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 626.,referer:
http://geoinformatics.tkk.fi/bin/edit/Main/FIUGINET?t=1224047956
Can't call method "generate" on unblessed reference at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 630., referer:
http://geoinformatics.tkk.fi/bin/edit/Main/FIUGINET?t=1224047956
The TWiki is 4.2.3
--
TWiki:Main.AriJolma
The first two uninitialized value warnings suggest something is badly wrong with the HTML it is processing, possibly a partial page, or some previously-unseen damage to a list caused in Tiny MCE. The problem occurred in or near a bullet (or numbered, or definition) list. If you can get any more information e.g "user deleted a list item" that would help. If you can recover the original topic that was edited, that would also help. Otherwise, it would be pure guesswork.
--
TWiki:Main.CrawfordCurrie
- 16 Oct 2008
When I saw this I remembered that I was supposed to report this bug also.
As I remember (did not have time to verify it this morning) the trigger is to
- Use Firefox
- Edit in Wysiwyg
- Write some text as bullet points
- On the last line make a bullet point which is only the bullet and no text
- Try to either save or click the pickaxe
As I remember this was how I could trigger the error in 4.2.3
--
TWiki:Main.KennethLavrsen
- 17 Oct 2008
OK took the time to try it and now I cannot trigger it here at home on SVN
TWikiRelease04x02 branch.
Either it is fixed on SVN OR it is something more that is required. I need to try and find the exact topic at work where I saw the problem. It happened when I urgently needed to write some minutes from meeting between two meetings and that is why I forgot all about it again.
It could also be a Firefox update that has cured it. I'll be back.
--
TWiki:Main.KennethLavrsen
- 17 Oct 2008
I have found the proximate cause of the error, and wrote it up on my TWiki.org page at
http://twiki.org/cgi-bin/view/Main/JimSchneider#Fix_for_Item6072_in_the_bug_list
while I was waiting for my registration to percolate through to this system. If you just want a fix, change line #620 in lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm (starting from your TWiki install directory) from this:
if( $grandkid->{tag} =~ /^div$/i
to this:
if($grandkid && $grandkid->{tag} =~ /^div$/i
--
TWiki:Main.JimSchneider
- 22 Jan 2009
Reading the code, this is fixed in the latest
WysiwygPlugin.
--
TWiki:Main.PeterThoeny
- 2013-10-02