You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "thiagoelg (via GitHub)" <gi...@apache.org> on 2023/12/05 20:49:21 UTC
[I] AuthSessions migration scripts can't handle expired auth sessions on KIE Sandbox [incubator-kie-issues]
thiagoelg opened a new issue, #743:
URL: https://github.com/apache/incubator-kie-issues/issues/743
When running the migration script for AuthSessions (and adding the k8s resource map to the storage) a case where the auth session is expired is not considered, failing to fetch the resource map.
The error is not caught and "explodes" in the AuthSessionContextProvider, making the whole app go blank.
Fixes needed:
- Add a try-catch to the migration script;
- Consider the expired auth session in the migration logic;
- Use a useCancelableEffect in the AuthSessionContextProvider to avoid setting them multiple times during migration (L146)
- An Error Boundary would be nice, but since this is a Context Provider this might be inviable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] AuthSessions migration scripts can't handle expired auth sessions on KIE Sandbox [incubator-kie-issues]
Posted by "thiagoelg (via GitHub)" <gi...@apache.org>.
thiagoelg commented on issue #743:
URL: https://github.com/apache/incubator-kie-issues/issues/743#issuecomment-1867901696
Fixed in https://github.com/apache/incubator-kie-tools/pull/2085
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] AuthSessions migration scripts can't handle expired auth sessions on KIE Sandbox [incubator-kie-issues]
Posted by "thiagoelg (via GitHub)" <gi...@apache.org>.
thiagoelg closed issue #743: AuthSessions migration scripts can't handle expired auth sessions on KIE Sandbox
URL: https://github.com/apache/incubator-kie-issues/issues/743
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org