[
https://issues.apache.org/jira/browse/KYLIN-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786682#comment-17786682
]
Hongrong Cao commented on KYLIN-5720:
-------------------------------------
Initially localized to:
Individually, spring-boot-autoconfigure is downgraded to 2.6.14-2.7.11,
spring-boot stays at 2.7.12, and starting KE initializes the cookieSerializer
and then the AppInitializer
<dependency
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>2.6.14</version>
</dependency
Only spring-boot-autoconfigure 2.7.12 has a problem
h2. RC
2.7.12 entered a commit: Prevent early initialization of SessionRepository beans
[https://github.com/spring-projects/spring-boot/issues/35240]
The dependencies in kylin cookieSerializer are as follows
!image-2023-11-16-17-09-47-295.png|width=1068,height=588!
org.springframework.boot.autoconfigure.session.SessionRepositoryFilterConfiguration.sessionRepositoryFilterRegistration(org.springframework.boot.autoconfigure.session.SessionProperties,org.springframework.session.web.http.SessionRepositoryFilter
{color:#FF0000}So the cookieSerializer is not initialized preferentially{color}
h2. Fix Design
By injecting the cookieSerializer into the AppInitializer, the cookieSerializer
will be initialized before the init, and the meta_url read will be the original
value.
> the query node returns to the login page after clicking on the model page
> -------------------------------------------------------------------------
>
> Key: KYLIN-5720
> URL: https://issues.apache.org/jira/browse/KYLIN-5720
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0-beta
> Reporter: Hongrong Cao
> Priority: Major
> Fix For: 5.0.0
>
> Attachments: image-2023-11-16-17-09-47-295.png
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)