Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Dontpush Ozonelayer: Discovery of the current browser not working
Hello,
i try to get the current browser from the context:
WebBrowser browser = ((WebApplicationContext)this.getContext()).getBrowser();
The browser object is of type DontPushWebBrowser. But it is useless in my case, because all information is only stored in the super class, not in DontPushWebBrowser.
The problem seems to be that in com.vaadin.terminal.gwt.server.AbstractApplicationServlet.updateBrowserProperties() the call of browser.updateRequestDetails() goes to com.vaadin.terminal.gwt.server.WebBrowser.updateRequestDetails().
org.vaadin.dontpush.server.DontPushWebBrowser.updateRequestDetails() is never called, so all members in DontPushWebBrowser are uninitialized.
I use vaadin-6.7.6.jar and dontpush-addon-ozonelayer-0.4.6.jar.
What can i do to get the current browser?
TIA,
Christian
Hi,
Thanks for pointing this out. Looks like a regression. I thought I tested things, but maybe there was some sort of human error. I'll try to get into this soon. I haven't had too much time for ozone layer lately.
cheers,
matti