Modify

Ticket #2712 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Perl Script error via GUI when trying to add a gateway

Reported by: n9nu@… Owned by: jacalvo@…
Milestone: 2.2 Component: network
Severity: critical Keywords: gw gateway network route static
Cc:

Description

The following perl script error pops up upon trying to add a gateway via the GUI. Using the 'route add' command via the CLI will correctly add a gateway as necessary in the meantime.

This is Zentyal 2.1 Beta 1 - AMD 64 bit version

Tim Dickerson


\n$VAR1 = bless( {
                 '-stacktrace' => 'Missing argument: IP address at /usr/share/perl5/EBox/Network/Model/GatewayTable.pm line 268
	EBox::Network::Model::GatewayTable::validateRow(\'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'add\', \'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'filter\', \'\', \'ip\', 208.71.147.193, \'name\', \'airlogic\', ...) called at /usr/share/perl5/EBox/Model/DataTable.pm line 801
	EBox::Model::DataTable::addRow(\'EBox::Network::Model::GatewayTable=HASH(0x7fa5845b6bf0)\', \'filter\', \'\', \'ip\', 208.71.147.193, \'name\', \'airlogic\', \'default\', \'on\', ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 79
	EBox::CGI::Controller::DataTable::addRow(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 231
	EBox::CGI::Controller::DataTable::_process(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 171
	EBox::CGI::ClientRawBase::run(\'EBox::CGI::Controller::DataTable=HASH(0x7fa585593980)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 119
	EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Network/Controller/GatewayTable\', \'EBox\') called at /usr/share/zentyal/cgi/ebox.cgi line 35
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7fa5805a0200)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0x7fa5805a0368)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7fa5805a0368)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7fa5805a0200)\') called at -e line 0
	eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/Network/Model/GatewayTable.pm',
                 '-text' => 'Missing argument: IP address',
                 '-line' => 268,
                 '-package' => 'EBox::Network::Model::GatewayTable',
                 'silent' => 0
               }, 'EBox::Exceptions::MissingArgument' );

Attachments

Change History

comment:1 Changed 2 years ago by jacalvo@…

  • Owner changed from cperez@… to jacalvo@…

This is an error already known by us and we are already working on the fix, a new package will be released very soon. Thanks for reporting it anyway :)

comment:2 Changed 2 years ago by jacalvo@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [20637]) NN: Fixed incoherency problems with 'on' and '1' in boolean indexes and release zentyal-core 2.1.1 (closes #2712)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.