This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-10-09 15:30:49,598 ERROR .magnolia.ui.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception. | |
com.google.inject.ProvisionException: Unable to provision, see the following errors: | |
1) Error in custom provider, java.lang.IllegalStateException: Not in view context, cannot resolve view UiContext | |
at info.magnolia.ui.framework.ioc.UiBaseModule.lambda$bindUiContext$2(UiBaseModule.java:191) (via modules: com.google.inject.util.Modules$OverrideModule -> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder$1 -> com.google.inject.util.Modules$CombinedModule -> info.magnolia.ui.framework.ioc.UiBaseModule) | |
while locating info.magnolia.ui.api.context.UiContext annotated with info.magnolia.ui.framework.ioc.ViewImpl@0 | |
at info.magnolia.ui.framework.ioc.UiBaseModule.bindUiContext(UiBaseModule.java:201) (via modules: com.google.inject.util.Modules$OverrideModule -> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder$1 -> com.google.inject.util.Modules$Combi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-10-09 14:53:57,540 ERROR .magnolia.ui.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception. | |
com.google.inject.ProvisionException: Unable to provision, see the following errors: | |
1) Error in custom provider, java.lang.NullPointerException | |
at info.magnolia.ui.framework.ioc.UiBaseModule.lambda$bindUiContext$2(UiBaseModule.java:191) (via modules: com.google.inject.util.Modules$OverrideModule -> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder$1 -> com.google.inject.util.Modules$CombinedModule -> info.magnolia.ui.framework.ioc.UiBaseModule) | |
while locating info.magnolia.ui.api.context.UiContext annotated with info.magnolia.ui.framework.ioc.ViewImpl@0 | |
at info.magnolia.ui.framework.ioc.UiBaseModule.bindUiContext(UiBaseModule.java:201) (via modules: com.google.inject.util.Modules$OverrideModule -> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder$1 -> com.google.inject.util.Modules$CombinedModule -> info.magnolia.ui.framework.ioc.UiBaseMod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-09-26 17:50:05,742 ERROR .magnolia.ui.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception. | |
com.google.inject.ProvisionException: Unable to provision, see the following errors: | |
1) Error in custom provider, java.lang.IllegalStateException: Not in a view scope, cannot resolve the corresponding bean store! | |
at info.magnolia.ui.framework.ioc.UiBaseModule.lambda$bindEventBuses$8(UiBaseModule.java:211) (via modules: com.google.inject.util.Modules$OverrideModule -> info.magnolia.objectfactory.guice.GuiceComponentProviderBuilder$1 -> com.google.inject.util.Modules$CombinedModule -> info.magnolia.ui.framework.ioc.UiBaseModule) | |
while locating info.magnolia.event.EventBus annotated with @com.google.inject.name.Named(value=choosedialog) | |
1 error | |
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025) | |
at info.magnolia.objectfactory.guice.GuiceParameterResolver.resolveParameter(GuiceParameterResolver.java:74) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'chooseDialog': | |
'class': 'info.magnolia.ui.dialog.definition.ConfiguredChooseDialogDefinition' | |
'field': | |
'class': 'info.magnolia.ui.contentapp.field.WorkbenchFieldDefinition' | |
'workbench': | |
'extends': '/modules/security-app/apps/security/subApps/roles/workbench' | |
'contentConnector': | |
'extends': '/modules/security-app/apps/security/subApps/roles/contentConnector' | |
'actions': | |
'commit': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import info.magnolia.repository.RepositoryConstants | |
import javax.jcr.Node | |
import info.magnolia.jcr.util.NodeUtil | |
import org.apache.commons.lang.StringUtils | |
import info.magnolia.cms.util.QueryUtil | |
website = ctx.getJCRSession("website") | |
listComponents(website.getNode("/some-path")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static info.magnolia.jcr.util.NodeUtil.isNodeType; | |
import static org.apache.commons.lang3.StringUtils.substringBeforeLast; | |
exportPath = "/modules/ui-admincentral/commands" | |
filterJCR = true | |
filterMGNL = true | |
session = MgnlContext.getJCRSession('config') | |
node = session.getNode(exportPath); | |
zeroDepth = node.getDepth() |
NewerOlder