Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.5
-
Unknown
-
N/A
-
N/A
-
Pull Request accepted
-
Description
The myxwiki.org upgrade produce tons of the following
2022-06-29 09:48:00,732 [XWiki initialization] WARN o.m.j.m.s.ErrorPacket - Error: 1049-42000: Unknown database 'pom' 2022-06-29 09:48:00,732 [XWiki initialization] WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: 1049, SQLState: 42000 2022-06-29 09:48:00,732 [XWiki initialization] ERROR o.h.e.j.s.SqlExceptionHelper - (conn=1392092) Unknown database 'pom' 2022-06-29 09:48:00,732 [XWiki initialization] WARN o.x.u.i.d.DocumentUserManager - Failed to check if document [pom:XWiki.HengleyUpsewly] holds an XWiki user or not. Considering it's not the case. Root error: [SQLSyntaxErrorException: (conn=1392092) Unknown database 'pom']
The reason is that a lot of user filter preferences were containing references to (spam) users from the wiki "pom" which does not exist anymore.
It seems to be missing a check on wiki existence somewhere (probably in DocumentUserManager#exists, it does not make any sense to produce a warning for such a case, it should simply return false).
Attachments
Issue Links
- is caused by
-
XWIKI-15460 Notification filter preferences are not cleaned when a wiki is deleted
- Closed