Artem Godin

Results 11 issues of 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...

hilla
investigation
needs design
spring
embedding flow

`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...

enhancement
hilla
code quality

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...

bug
hilla
Severity: Major
Impact: Low

`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...

hilla

Classes `SpringInstantiator` and `SpringServlet` implement `Serializable` but contain a non-serializable non-transient field: ``` private final ApplicationContext context; ```

Impact: Low
Severity: Minor
code quality

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...

investigation

Class `SpringVaadinServletService` stores `ApplicationContext` in transient field, but it is not reinitialized after deserialization.

bug
Impact: Low
Severity: Minor
code quality

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...

enhancement
fusion
Impact: Low
Severity: Minor

What is the proper way of returning `Object[]` from `Metaprogramming.proxy()`?

question

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...

question