Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
-
development
Description
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)
Attachments
Issue Links
- links to