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

Empty properties in UploadI18N cause client side errors #1615

Closed
tulioag opened this issue Nov 13, 2019 · 1 comment
Closed

Empty properties in UploadI18N cause client side errors #1615

tulioag opened this issue Nov 13, 2019 · 1 comment

Comments

@tulioag
Copy link
Contributor

tulioag commented Nov 13, 2019

If you set an I18n object, but leave fields empty, client side exceptions are shown.

@Route
@PWA(name = "My Application", shortName = "My Application")
public class MainView extends VerticalLayout {

    public MainView() {
        Upload upload = new Upload();
        upload.setI18n(new UploadI18N());
        add(upload);
    }
}

upload_error

@vaadin-bot vaadin-bot transferred this issue from vaadin/vaadin-upload-flow Oct 6, 2020
@vaadin-bot vaadin-bot transferred this issue from vaadin/vaadin-upload May 19, 2021
@vaadin-bot vaadin-bot transferred this issue from vaadin/web-components May 21, 2021
@rolfsmeds rolfsmeds added the I18N label Jun 15, 2021
@web-padawan
Copy link
Member

Fixed by #1906 which enabled setting partial UploadI18n and prevented the error from being thrown. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants