Item11430: update to WorkFlowPlugin 1.12.3 breaks foswiki
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release: n/a
Hi,
after updating to
WorkFlowPlugin 1.12.3 I get following error - which stops foswiki from working
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.
Can't locate object method "expandWorkflowPreferences" via package "_undef" (perhaps you forgot to load "_undef"?)
logging:
| 2012-01-10T21:25:15Z warning | Can't locate object method "expandWorkflowPreferences" via package "_undef" (perhaps you forgot to load "_undef"?) at /var/www/foswiki/lib/Foswik
i/Plugins/WorkflowPlugin.pm line 521.
at /var/www/foswiki/lib/Foswiki/Plugins/WorkflowPlugin.pm line 521
Foswiki::Plugins::WorkflowPlugin::commonTagsHandler('WebHome', 'WebHome', 'SIS', 0, 'Foswiki::Meta=HASH(0xac029ac)') called at /var/www/foswiki/lib/Foswiki/Plugin.pm line
287
Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0xa987b9c)', 'commonTagsHandler', 'WebHome', 'WebHome', 'SIS', 0, 'Foswiki::Meta=HASH(0xac029ac)') called at /var/www/foswik
i/lib/Foswiki/Plugins.pm line 331
Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x99311b0)', 'commonTagsHandler', 'WebHome', 'WebHome', 'SIS', 0, 'Foswiki::Meta=HASH(0xac029ac)') called at /var/www/fo
swiki/lib/Foswiki.pm line 3258
Foswiki::expandMacros('Foswiki=HASH(0x98fe518)', '%TOPICTITLE%', 'Foswiki::Meta=HASH(0xac029ac)') called at /var/www/foswiki/lib/Foswiki/Meta.pm line 3129
Foswiki::Meta::expandMacros('Foswiki::Meta=HASH(0xac029ac)', '%TOPICTITLE%') called at /var/www/foswiki/lib/Foswiki/Func.pm line 2446
I disabled
WorkFlowPlugin 1.12.3 , then foswiki works like normal - whithout the
WorkFlowPlugin.
--
BertoldAltaner - 10 Jan 2012
I can confirm this behavior. I just upgraded, and it killed my 1.1.4 dev site. View is broken site-wide, same error as above.
--
AaronFuleki - 10 Jan 2012
Yes, same problem. I believe I was having problems with certain files not saving edits. They happened to have
WorkFlow in them. So I updated to 1.12.3 (today 1/10). And now whenever Workflow is enabled and I try to leave configure, I get this:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.
Can't locate object method "expandWorkflowPreferences" via package "_undef" (perhaps you forgot to load "_undef"?)
Also, I cannot leave a comment on this item 11430. Did we hit max text limit?
--
JoeMarandola - 10 Jan 2012
This one goes on my cap. Got a fix. Yet
Item11419 is still creepy.
--
MichaelDaum - 11 Jan 2012
Patch attached to
Item11419. Please test.
--
MichaelDaum - 11 Jan 2012
Fixed in latest release.
--
MichaelDaum - 11 Jan 2012