redirect to login screen when trying to export with expired session
The user sees
HTTP Status 500 - User doesn't have access to project
type Exception report
message User doesn't have access to project
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: User doesn't have access to project
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:98)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
[...]
when clicking on Export
in the Info
tab when the session expired.
Instead, the user should be redirected to the login screen.