• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5371: Irregular occurrence of unresolved plugin-specific variables and 'bogus' error messages about missing subroutines

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WorkflowPlugin Urgent New TWiki:Main.MarkusUeberall n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Sometimes plugin-specific variables don't get resolved or 'bogus' error messages like the following are shown (line number may differ):
Undefined subroutine &TWiki::Plugins::WorkflowPlugin::UserIsAllowed called at /home/httpd/twiki4/lib/TWiki/Plugins/WorkflowPlugin.pm line 421.

If you keep reloading the page in question, it will eventually work (and fail yet again after another page reload), regardless whether the user is administrator or not. Since the behaviour seems erratic, you may not encounter these errors during (very) brief tests.

My configuration: Linux, apache/2.2.6, perl 5.8.8

Currently activated Plugins: GluePlugin, IfDefinedPlugin, SpreadSheetPlugin, AliasPlugin, AnyWikiDrawPlugin, AttachContentPlugin, BibtexPlugin, BlogPlugin, BreadCrumbsPlugin, CommentPlugin, CompareRevisionsAddonPlugin, DBCachePlugin, EditTablePlugin, EmptyPlugin, ExternalLinkPlugin, FilterPlugin, FlexWebListPlugin, GenPDFLatexPlugin, HeadlinesPlugin, HistoryPlugin, ImageGalleryPlugin, ImagePlugin, InterwikiPlugin, LatexModePlugin, MediaWikiTablePlugin, PerlDocPlugin, PreferencesPlugin, RecursiveRenderPlugin, RedDotPlugin, RenderListPlugin, RevCommentPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TagCloudPlugin, TagMePlugin, TimeSincePlugin, TwistyPlugin, UserInfoPlugin, WebPermissionsPlugin, WorkflowPlugin

(NB: This error seems unrelated to Item5369; it probably hasn't been noticed before because Item5369 prevented non-administrators from actually using the WorkflowPlugin with TWiki 4.2 and not many administrators with current installations seem to use it regularly.)

-- TWiki:Main/MarkusUeberall - 15 Feb 2008

I get very similar errors (RHEL, Apache 2.2.6, Perl 5.8.5). No amount of refreshing will bring things to life. Here's what I see in the error log when I try to start the example topic "DefectOne" through its workflow (some info redacted). USERNAME is always the user currently logged in.


[Wed Feb 27 14:43:42 2008] [error] [client {IP ADDRESS}] Can't locate object method "webDotWikiName" via package "{USERNAME}" (perhaps you forgot to load "{USERNAME}"?) at /twiki/lib/TWiki/Plugins/WorkflowPlugin.pm line 314., referer: https://my.twiki.server/twiki/bin/view/Sandbox/DefectOne [Wed Feb 27 14:43:42 2008] [error] [client {IP ADDRESS}] at /twiki/lib/TWiki/Plugins/WorkflowPlugin.pm line 314, referer: https://my.twiki.server/twiki/bin/view/Sandbox/DefectOne [Wed Feb 27 14:43:42 2008] [error] [client {IP ADDRESS}] \tTWiki::Plugins::WorkflowPlugin::changeWorkflowState('Initial', 'InitialForm') called at /twiki/lib/TWiki/Plugins/WorkflowPlugin.pm line 120, referer: https://my.twiki.server/twiki/bin/view/Sandbox/DefectOne [Wed Feb 27 14:43:42 2008] [error] [client {IP ADDRESS}] \tTWiki::Plugins::WorkflowPlugin::commonTagsHandler('\\x{a}\\x{a}

ItemTemplate
Summary Irregular occurrence of unresolved plugin-specific variables and 'bogus' error messages about missing subroutines
ReportedBy TWiki:Main.MarkusUeberall
Codebase 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component WorkflowPlugin
Priority Urgent
CurrentState New
WaitingFor TWiki:Main.MarkusUeberall
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-02-27 - AaronFuleki
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback