Skip to content

Upload Error Message broken #10494

@knoobie

Description

@knoobie

Description

No Error is shown when trying to upload a file that is too large for the upload to handle.

Expected outcome

Error is shown.

Minimal reproducible example

    var upload = new Upload(UploadHandler.inMemory((InMemoryUploadCallback) (uploadMetadata, bytes) -> System.out.println(uploadMetadata)));
    upload.setMaxFileSize(1_000);
    add(upload);

Steps to reproduce

  1. use snippet
  2. Upload file > 1.000
  3. See nothing (only screen reader is announced (?))
Image

Environment

Vaadin version(s): 24.9.5

Browsers

No response

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