SID-00186: Undefined subroutine TWiki::Form::_getPossibleFieldValues called
| Status: |
Answered |
TWiki version: |
4.2.3 |
Perl version: |
5.10.0-37.6 |
| Category: |
ControlsPlugin |
Server OS: |
SuSE Linux 11.0 |
Last update: |
16 years ago |
I just installed
ControlsPlugin using installer. I get this error when I attempt to view the
ControlsPlugin topic. I am clueless as to how to resolve the problem! The last entry in warn20090903.txt copied below:
| 12 Mar 2009 - 11:35 | Undefined subroutine &TWiki::Form::_getPossibleFieldValues called at /srv/www/htdocs/twiki/lib/TWiki/Plugins/Con
trolsPlugin.pm line 156.
at /srv/www/htdocs/twiki/lib/TWiki/Plugins/ControlsPlugin.pm line 156
TWiki::Plugins::ControlsPlugin::getListOfFieldValues('TWiki=HASH(0x84051a4)', 'TWiki', 'ControlsPlugin', 'firstInput', 'checkbox
', 1, ' ', 'off', 'Select previous level first', ...) called at /srv/www/htdocs/twiki/lib/TWiki/Plugins/ControlsPlugin.pm line 93
TWiki::Plugins::ControlsPlugin::handleControls('TWiki=HASH(0x84051a4)', 'TWiki::Attrs=HASH(0x918dd5c)', 'ControlsPlugin', 'TWiki
', 'TWiki::Meta=HASH(0x8d6aabc)') called at /srv/www/htdocs/twiki/lib/TWiki/Func.pm line 2270
TWiki::Func::__ANON__('TWiki=HASH(0x84051a4)', 'TWiki::Attrs=HASH(0x918dd5c)', 'ControlsPlugin', 'TWiki', 'TWiki::Meta=HASH(0x8d
6aabc)') called at /srv/www/htdocs/twiki/lib/TWiki.pm line 2678
TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x84051a4)', 'CONTROL', '"firstInput" type="checkbox" size="1"', 'ControlsPlugin',
'TWiki', 'TWiki::Meta=HASH(0x8d6aabc)') called at /srv/www/htdocs/twiki/lib/TWiki.pm line 2592
TWiki::_processTags('TWiki=HASH(0x84051a4)', '---+ Controls Plugin\x{a}\x{a}This plugin creates controls that can b...', 'CODE(0
x850833c)', 16, 'ControlsPlugin', 'TWiki', 'TWiki::Meta=HASH(0x8d6aabc)') called at /srv/www/htdocs/twiki/lib/TWiki.pm line 2516
TWiki::expandAllTags('TWiki=HASH(0x84051a4)', 'SCALAR(0x8512d1c)', 'ControlsPlugin', 'TWiki', 'TWiki::Meta=HASH(0x8d6aabc)') cal
led at /srv/www/htdocs/twiki/lib/TWiki.pm line 2875
TWiki::handleCommonTags('TWiki=HASH(0x84051a4)', '---+ Controls Plugin\x{a}\x{a}This plugin creates controls that can b...', 'TW
iki', 'ControlsPlugin', 'TWiki::Meta=HASH(0x8d6aabc)') called at /srv/www/htdocs/twiki/lib/TWiki/UI/View.pm line 392
TWiki::UI::View::_prepare('---+ Controls Plugin\x{a}\x{a}This plugin creates controls that can b...', 'TWiki=HASH(0x84051a4)', '
TWiki', 'ControlsPlugin', 'TWiki::Meta=HASH(0x8d6aabc)', 0) called at /srv/www/htdocs/twiki/lib/TWiki/UI/View.pm line 373
TWiki::UI::View::view('TWiki=HASH(0x84051a4)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 159
TWiki::UI::__ANON__() called at /usr/lib/perl5/site_perl/5.10.0/Error.pm line 415
eval {...} called at /usr/lib/perl5/site_perl/5.10.0/Error.pm line 407
Error::subs::try('CODE(0x82959e4)', 'HASH(0x8d6a70c)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 197
TWiki::UI::run('CODE(0x8576abc)', 'view', 1) called at /srv/www/htdocs/twiki/bin/view line 32.
--
LarryBristol - 12 Mar 2009
Discussion and Answer
This plugin calls an unpublished internal TWiki function. It now apparently breaks on a later TWiki release. The plugin author or someone with Perl skills need to fix the plugin.
--
PeterThoeny - 12 Mar 2009
Thanks, Peter. I was afraid of that. The
ControlsPlugin is documented as tested within TWiki 4.0.0. I guess it got broken somewhere along the way to 4.2.3. I'll see if I can nudge the author to look at it, since it really looks like it could be useful to me.
--
LarryBristol - 12 Mar 2009
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.