Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
5.4.2
-
None
-
N/A
-
N/A
-
Description
Here's what I did to reproduce the issue:
- downloaded and unpacked xwiki-enterprise-jetty-hsqldb-5.4.2 zip
- deleted the data folder
- started XWiki and accessed the home page Main.WebHome
- The Distribution Wizard was triggered immediately and I started the installation.
- I was prompted to login
- After logging in I got "You are not allowed to view this document or perform this action.". I reloaded the page and I got the Distribution Wizard (probably related to
XWIKI-10071). The installation of "XWiki Enterprise - UI - Main wiki" was done. The progress log had a couple of:Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin] class org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin] at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:436) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:410) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.translationObjectAdded(DocumentTranslationBundleFactory.java:350) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$000(DocumentTranslationBundleFactory.java:89) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$1.onEvent(DocumentTranslationBundleFactory.java:163) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264) at com.xpn.xwiki.internal.event.XObjectEventGeneratorListener.onDocumentCreatedEvent(XObjectEventGeneratorListener.java:101) at com.xpn.xwiki.internal.event.XObjectEventGeneratorListener.onEvent(XObjectEventGeneratorListener.java:85) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1325) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:344) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:330) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:124) at org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:223) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:174) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:136) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:222) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:186) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:218) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:169) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:116) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:148) at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:154) at org.xwiki.job.internal.DefaultJobManager.runJob(DefaultJobManager.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:113) at java.lang.Thread.run(Thread.java:744)
and (at the end) one of:
Access denied when checking [programming] access to [Main Wiki] for user [xwiki:XWiki.Admin] class org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [programming] access to [Main Wiki] for user [xwiki:XWiki.Admin] at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:433) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:410) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.translationObjectAdded(DocumentTranslationBundleFactory.java:350) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$000(DocumentTranslationBundleFactory.java:89) at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$1.onEvent(DocumentTranslationBundleFactory.java:163) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264) at com.xpn.xwiki.internal.event.XObjectEventGeneratorListener.onDocumentCreatedEvent(XObjectEventGeneratorListener.java:101) at com.xpn.xwiki.internal.event.XObjectEventGeneratorListener.onEvent(XObjectEventGeneratorListener.java:85) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:299) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:264) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1325) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:344) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:330) at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:124) at org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:223) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:174) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146) at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:136) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:222) at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:186) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:218) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:169) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:116) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:148) at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:154) at org.xwiki.job.internal.DefaultJobManager.runJob(DefaultJobManager.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:113) at java.lang.Thread.run(Thread.java:744)
- I finished the wizard and I noticed that some translations were missing (the registration failed probably)
So there are two issues:
- After logging in you need to reload the page (related to
XWIKI-10071) - There are some access rights checks that fail for Admin user
- Translation registration failed
Attachments
Issue Links
- is duplicated by
-
XWIKI-10130 Distribution Wizard aborts prematurely
- Closed
- is related to
-
XWIKI-9726 Different behaviour of View Right in subwikis compared to 4.5.4 version
- Closed
-
XWIKI-10130 Distribution Wizard aborts prematurely
- Closed
- relates to
-
XWIKI-14405 Move XWikiPreferences to the xwiki-enterprise-ui-common
- Closed