-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 9.5.0, 9.5.0.2
-
Component/s: ZK Client Engine
-
Security Level: Jimmy
-
ZK 9.5.1 S1
-
None
Steps to Reproduce
configure a client side error handler e.g. in zk.xml
<client-config>
<error-reload>
<device-type>ajax</device-type>
<error-code>403</error-code>
<reload-uri>/login</reload-uri>
</error-reload>
</client-config>
respond with 403 to an /zkau request (e.g. in a servlet filter handling authentication)
or respond a 403 from a zul file
<zk> <button onClick="execution.getNativeRequest().sendError(403);execution.setVoided();"/> </zk>
Current Result
the client engine stops -> keeps showing the processing animation
Expected Result
the configured reload-uri should be triggered
Debug Information
the error handling code is not executed, the response.status.ok is false
Workaround
- relates to
-
ZK-4175 replace XHR with the fetch() API to allow SSO redirect handling
-
- Closed
-