You are here: Foswiki>Tasks Web>Item6072 (08 Jan 2009, KwangErnLiew)Edit Attach

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

Priority: Normal
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Extension
Component: WysiwygPlugin
Reported By: TWiki:Main.AriJolma
Waiting For:
Last Change By: KwangErnLiew
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 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/"

the error

Use of uninitialized value in pattern match (m//) at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/ line 620.,referer:
Use of uninitialized value in pattern match (m//) at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/ line 626.,referer:
Can't call method "generate" on unblessed reference at /var/www/geoinformatics/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/ line 630., referer:

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/ line 630.
ReportedBy TWiki:Main.AriJolma
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r6 - 08 Jan 2009, KwangErnLiew - This page was cached on 16 Jan 2020 - 14:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy