Skip to content

Commit

Permalink
Merge branch 'devel' into CB-4634-Grouping-value-panels-should-remain…
Browse files Browse the repository at this point in the history
…-opened-after-minimizing
  • Loading branch information
EvgeniaBzzz authored Feb 26, 2024
2 parents efa745b + a4f50c2 commit ac474b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ public WebSession(
this.lastAccessTime = this.createTime;
setLocale(CommonUtils.toString(httpSession.getAttribute(ATTR_LOCALE), this.locale));
this.sessionHandlers = sessionHandlers;
//force authorization of anonymous session to avoid access error,
//because before authorization could be called by any request,
//but now 'updateInfo' is called only in special requests,
//and the order of requests is not guaranteed.
//look at CB-4747
refreshSessionAuth();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public WebSession getWebSession(
log.debug((restored ? "Restored " : "New ") + "web session '" + webSession.getSessionId() + "'");

webSession.setCacheExpired(!httpSession.isNew());
webSession.updateInfo(request, response);

sessionMap.put(sessionId, webSession);
} else {
Expand Down

0 comments on commit ac474b2

Please sign in to comment.