You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made sure that there are no existing issues - open or closed - which I could contribute my information to.
I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
This issue contains only one bug.
Affected version
4.4.0
Steps to reproduce the bug
add vaadin-maps-leaflet-flow to a project
add a map showing a marker
add spring-boot-starter-security
configure HTTP authorization
Expected behavior
The map is displayed, the marker is visible
Actual behavior
The map is displayed, the marker is not visible
Additional information
It turns out the marker is not displayed because a request to the marker will be redirected to the login page. The marker URL is a file in the root directory of the Vaadin application:
That looks like a bug. A component should never add files directly to the root directory. It's better to use the sub-directory /icons or /images which usually has a "permit all" to the contents (including subdirectories). So using e.g. /icons/leaflet/marker-icon.png should fix the permission problem with Vaadin / Spring Security.
The text was updated successfully, but these errors were encountered:
Checklist
Affected version
4.4.0
Steps to reproduce the bug
vaadin-maps-leaflet-flow
to a projectspring-boot-starter-security
Expected behavior
The map is displayed, the marker is visible
Actual behavior
The map is displayed, the marker is not visible
Additional information
It turns out the marker is not displayed because a request to the marker will be redirected to the login page. The marker URL is a file in the root directory of the Vaadin application:
http://localhost:8080/marker-icon.png
That looks like a bug. A component should never add files directly to the root directory. It's better to use the sub-directory
/icons
or/images
which usually has a "permit all" to the contents (including subdirectories). So using e.g./icons/leaflet/marker-icon.png
should fix the permission problem with Vaadin / Spring Security.The text was updated successfully, but these errors were encountered: