Skip to content

Before use routeGenerator, screen should register route first #771

@BryanYin

Description

@BryanYin

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions