Skip to content

DevMode should not fail silently #23803

@mstahv

Description

@mstahv

Description of the bug

If a non-skilled hosting specialist deploys a Vaadin application with mvn spring-boot:run (by following some weird instructions by a hosting company) they will get their Vaadin app upp and running in development mode, but without any visual hint about it. Only if they end up opening browser inspector they might spot error: "Dev tools functionality denied for this host. See Vaadin documentation on how to configure devmode.hostsAllowed property:".

From some older Vaadin versions people have learned to trust the inexistence of the "}>" symbol aka Dev Mode aka "Vaadin Copilot" as a sign that app has been properly deployed.

cc: @samie

Expected behavior

Should show some indication that app is in development mode.

Minimal reproducible example

Run a vaadin app with "mvn spring-boot:run" and put a front-proxy on top of it.

Versions

  • Vaadin / Flow version: 25.0.6
  • Java version:
  • OS version:
  • Browser version (if applicable):
  • Application Server (if applicable):
  • IDE (if applicable):

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🔖 Low Priority (P3)

    Status

    🅿️Parking lot

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions