Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item6072: Can't call method "generate" on unblessed reference at lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 630.

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension WysiwygPlugin  
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 believe this is a duplicate of Item6041

I am sure too

ItemTemplate edit

Summary Can't call method "generate" on unblessed reference at lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 630.
ReportedBy TWiki:Main.AriJolma
Codebase
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r6 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License