Artem Godin
Artem Godin
As a developer I would like to use Spring Security in my Fusion app which happens to use exported webcomponents. Do we have integration tests for that? I suspect that...
`VaadinConnectAccessChecker` instance is created in `VaadinConnectControllerConfiguration`, BUT its non-final field `xsrfProtectionEnabled` is set by the `VaadinConnectController` in its constructor. That makes `VaadinConnectAccessChecker` a stateful singleton: 1. Before `VaadinConnectController` was initialized...
Steps to reproduce: 1. Navigate to https://cookbook.vaadin.com/vaadinServlet/ 2. Observe error in console: ``` 18:10:30.552 (index):1 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 Promise.catch (async) render...
`VaadinConnectController` has the following lines to configure current request and response: https://github.com/vaadin/flow/blob/4ba194f354ea4ee039324e7ca9d42eece5a50708/fusion-endpoint/src/main/java/com/vaadin/flow/server/connect/VaadinConnectController.java#L279-L282 However, according to `VaadinService`, `VaadinService.getCurrent()` will return a non-null value only in the following cases: - The block...
Classes `SpringInstantiator` and `SpringServlet` implement `Serializable` but contain a non-serializable non-transient field: ``` private final ApplicationContext context; ```
Steps to reproduce: 1. Generate Spring Boot-based SVC project 2. Start application 3. Navigate to `http://localhost:8080/vaadinServlet` 4. Observe that the image in the app layout is not shown: request to...
Class `SpringVaadinServletService` stores `ApplicationContext` in transient field, but it is not reinitialized after deserialization.
As a developer I want to define Fusion endpoint in an interface so that I can supply different implementations using Spring facilities (for example, use dummy data provider in development...
What is the proper way of returning `Object[]` from `Metaprogramming.proxy()`?
Let's say I have ```java Integer x = 5; PlatformObject nativeObj = Platform.getPlatformObject(x); // pass nativeObj via some 3rd party JS library Integer y = (Integer)nativeObj; Integer z = y...