Hi Denis,
Thank you for your reply! We found out the reason is a document called
XWiki.XWikiServerXwiki whose title is empty. During the XWiki initialization
in 8.4.4 version(the version we use), setDocumentFields
<https://github.com/xwiki/xwiki-platform/blob/stable-9.1.x/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/AbstractMandatoryDocumentInitializer.java#L183-L186>
will mark the document as needsUpdate if the title is blank(It only has
StringUtils.isBlank(document.getTitle()) in if statement for 8.4.4 version).
So it will then remove the security cache and cause the issue.
For the fix, we plan to add a title for XWiki.XWikiServerXwiki page, which
solved the issue in beta testing. Right now we didn't see any problem except
it will remove the security caches once more. Do you think it's safe doing
that? Thanks!
--
Sent from:
http://xwiki.475771.n2.nabble.com/XWiki-Dev-f475773.html