Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Before use routeGenerator, screen should register route first #771

Open
BryanYin opened this issue Dec 1, 2020 · 0 comments
Open

Before use routeGenerator, screen should register route first #771

BryanYin opened this issue Dec 1, 2020 · 0 comments

Comments

@BryanYin
Copy link

BryanYin commented Dec 1, 2020

Environment

Description of the bug or enhancement

In this section, we need to mention for custom screens, developer should use @Route to register screen route, otherwise, an Exception will throw:

Caused by: java.lang.IllegalStateException: Unable to generate route for screen 'magic_VideoPlayerScreen' - no registered route found
	at com.haulmont.cuba.web.sys.WebUrlRouting$RouteGeneratorImpl.getRoute(WebUrlRouting.java:439) ~[cuba-web-7.2.10.jar:7.2.10]
	at com.haulmont.cuba.web.sys.WebUrlRouting$RouteGeneratorImpl.getRoute(WebUrlRouting.java:483) ~[cuba-web-7.2.10.jar:7.2.10]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant