Item6072: Can't call method "generate" on unblessed reference at lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 630.
Current State: Closed
Released In: 1.0.0
Target Release: patch
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:126.96.36.199) Gecko/20070725 Firefox/188.8.131.52"
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
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.
- 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
- 17 Oct 2008
OK took the time to try it and now I cannot trigger it here at home on SVN TWikiRelease04x02
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.
- 17 Oct 2008
I believe this is a duplicate of Item6041
I am sure too