首页 > 解决方案 > Strange Bug in Chrome 69.0.3497.81 + spring boot security + vaadin when uploading files

问题描述

I have a strange bug in my app when using Chrome 69.0.3497.81. The app works fine with previous versions of Chrome, as well as the latest Firefox, Opera and Edge.

The web-app is a Spring Boot application with Spring Boot Security (2.0.4) combined with Vaadin (8.5.1)

I have made a minimal project that exhibits the bug that can be found in https://github.com/npetalid/chromebug.git

The app shows a page with 6 buttons that upload a file. The buttons are identical. The 6th button you press (order does not play any role) fails. It waits for an answer from the server that never comes.

Uploading using the same button many times, is not a problem.

The bug only appears when spring boot security is on. I tried it on Chrome on Windows 10 and MacOs High Sierra.

As this bug is a combination of Chrome, Spring Boot Security and Vaadin I have no idea where else to ask, and thus I am asking the group here. If you feel that the question should be posted elsewhere, let me know

标签: google-chromespring-bootvaadin8

解决方案


我最近在使用 Chrome 时注意到我的 Spring Boot 应用程序(具有安全性)在映射该方法时执行了两次。在 Safari 中对其进行测试只会导致预期的单次执行。


推荐阅读