Tracy router panel have problem with match url

Notice: This thread is very old.
Myiyk
Member | 321
+
0
-

Hi,
when I am on addres Homepage:default, I get errors in Tracy routing panel and tracy user panel.
Problem is only in tracy, site works properly.

Both errors are same

Nette\InvalidStateException: Missing module in route definition. in /Library/WebServer/Documents/kalita.cz/vendor/nette/application/src/Application/Routers/Route.php:243
Stack trace:
#0 /Library/WebServer/Documents/kalita.cz/vendor/nette/application/src/Bridges/ApplicationTracy/RoutingPanel.php(108): Nette\Application\Routers\Route->match(Object(Nette\Http\Request))
#1 /Library/WebServer/Documents/kalita.cz/vendor/nette/application/src/Bridges/ApplicationTracy/RoutingPanel.php(102): Nette\Bridges\ApplicationTracy\RoutingPanel->analyse(Object(Nette\Application\Routers\Route), '')
#2 /Library/WebServer/Documents/kalita.cz/vendor/nette/application/src/Bridges/ApplicationTracy/RoutingPanel.php(67): Nette\Bridges\ApplicationTracy\RoutingPanel->analyse(Object(Nette\Application\Routers\RouteList))
#3 /Library/WebServer/Documents/kalita.cz/vendor/tracy/tracy/src/Tracy/Bar.php(72): Nette\Bridges\ApplicationTracy\RoutingPanel->getTab()
#4 /Library/WebServer/Documents/kalita.cz/vendor/tracy/tracy/src/Tracy/Debugger.php(211): Tracy\Bar->render()
#5 [internal function]: Tracy\Debugger::shutdownHandler()
#6 {main}

My router

		$router = new RouteList;
		$router[] = new Route('', 'Homepage:default');
		$router[] = new Route('[<module>/]<presenter>[/<action>[/<id>]]', 'Author:Homepage:default');
		return $router;

PS: on page Author:Homepage:default all works well

Tracy 2.3.8, php 7.0.0

Myiyk
Member | 321
+
0
-

Route

		$router[] = new Route('<module>/<presenter>[/<action>[/<id>]]', 'Author:Homepage:default');

works without problem

Aurielle
Member | 1281
+
0
-

I think the routing panel complains about no module in this route:

$router[] = new Route('', 'Homepage:default');
David Grudl
Nette Core | 8205
+
+1
-

Fixed two days ago ;)

https://github.com/…d1e7528046b2