You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Dan Kirkwood (JIRA)" <ji...@apache.org> on 2017/06/20 20:50:00 UTC
[jira] [Resolved] (TC-260) TO crash on missing regex on creating
delivery service in UI
[ https://issues.apache.org/jira/browse/TC-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Kirkwood resolved TC-260.
-----------------------------
Resolution: Fixed
> TO crash on missing regex on creating delivery service in UI
> ------------------------------------------------------------
>
> Key: TC-260
> URL: https://issues.apache.org/jira/browse/TC-260
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.1.0
> Environment: development
> Reporter: Dan Kirkwood
> Assignee: Dan Kirkwood
> Labels: host_regex
> Fix For: 2.1.0
>
>
> tried creating a delivery service, but forgot to put in a regex. Looks like it tried to give an error message popup, but showed this fatal error and stack trace instead:
> Traffic Ops fatal error occurred while processing your request.
> Error at line 28 ($morbo->run($app);)
> Please supply a host regular expression at
> .../app/local/lib/perl5/Mojolicious/Controller.pm line 37
> Mojolicious::Controller::AUTOLOAD('UI::DeliveryService=HASH(0x7e4fd78)',
> 'HOST_REGEXP', '', 'cdn1.kabletown.net', 1, undef)
> called at.../app/lib/UI/DeliveryService.pm line 394
>
> UI::DeliveryService::check_deliveryservice_input('UI::DeliveryService=HASH(0x7e4fd78)', 1)
> called at.../app/lib/UI/DeliveryService.pm line 1020
> UI::DeliveryService::create('UI::DeliveryService=HASH(0x7e4fd78)')
> called at.../app/local/lib/perl5/Mojolicious.pm line 126
> Mojolicious::__ANON__(undef, 'UI::DeliveryService=HASH(0x7e4fd78)',
> 'CODE(0x688fd18)', 1)
> called at.../app/local/lib/perl5/Mojolicious/Plugins.pm line 20
> Mojolicious::Plugins::__ANON__()
> called at.../app/local/lib/perl5/Mojolicious/Plugins.pm line 23 Mojolicious::Plugins::emit_chain('Mojolicious::Plugins=HASH(0x23d68a8)', 'around_action', 'UI::DeliveryService=HASH(0x7e4fd78)', 'CODE(0x688fd18)', 1)
> called at.../app/local/lib/perl5/Mojolicious/Routes.pm line 106 Mojolicious::Routes::_action('TrafficOps=HASH(0x2a09d78)', 'UI::DeliveryService=HASH(0x7e4fd78)', 'CODE(0x688fd18)', 1)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)