Skip to content

Newly generated projects throw errors and warning #29

Open
@MoritzSchleySAP

Description

@MoritzSchleySAP

Using the latest version of the generator results in some warnings and errors in the console.

Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -  
Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -  
Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -

GET http://localhost:8080/resources/sap/m/manifest.json 404 (Not Found)

Did place the view target 'sap.m.demo.view.Main' with the id '__component0---main' into the aggregation 'pages' of a control with the id '__component0---app--app' - EventProvider sap.m.routing.Target

GET http://localhost:8080/resources/sap/ui/core/manifest.json 404 (Not Found)

navigation to view with id: __component0---main is skipped since it already is displayed by its targetControl - sap.m.routing.TargetHandler 

The route named 'main' did match with its pattern - EventProvider sap.ui.core.routing.Route

The 404 errors should probably be addressed, as they can have an impact on performance (isn't manifest.json essential for ui5 projects? Why does the app work even with the 404 error here). Furthermore there seems to be something wrong with the initial routing (Page stack is empty, navigation skipped). The messages come up multiple times during the loading process. Any ideas?

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