Vaadin Flow Upload.

We are using Vaadin Upload for flow. The component works OK, but on ever new browser we get
on ios safari we get
Script Error(0)
on android 8.0+ and even on Windows 10 we get
TypeError: Cannot read property {o} of undefined sometimes TypeError: Cannot read property {1} of undefined

I am guessing some property is not available…all we want is to catch and ignore this exception without the client side error BOMBing
on the front page… how to accomplish this? All I want is ttatch an exception handler and choke this error. Unless of course
we can figure out why it even happens. All works fine so we are fine choking it up.

How can I accomplish this in vaadin 11.0??

Hi.

The TypeError should only show when in development mode.

But if you have a small sample and instruction on how to get the exception it would be great to get a
ticket to https://github.com/vaadin/vaadin-upload-flow

you could try updating vaadin to 11.0.2 or the upload component to version 1.0.4 as there was a problem with i18n that caused TypeErrors.

  • Mikael