我已经在magnolia Author上创建了内容应用程序,然后将其发布到magnolia publish,我的应用程序已发布,但是当我单击应用程序启动器布局中的应用程序图标时,它给了我例外
2019-06-24 18:06:32,426 ERROR n.integration.contentconnector.JcrContentConnector: Failed to obtain JCR id for fragment: pastry
javax.jcr.NoSuchWorkspaceException: pastry
at info.magnolia.repository.DefaultRepositoryManager.getSession(DefaultRepositoryManager.java:309) ~[magnolia-core-5.6.2.jar:?]
at info.magnolia.context.DefaultRepositoryStrategy.internalGetSession(DefaultRepositoryStrategy.java:61) ~[magnolia-core-5.6.2.jar:?]
at info.magnolia.context.AbstractRepositoryStrategy.getSession(AbstractRepositoryStrategy.java:75) ~[magnolia-core-5.6.2.jar:?]
at info.magnolia.context.AbstractContext.getJCRSession(AbstractContext.java:124) ~[magnolia-core-5.6.2.jar:?]
at info.magnolia.context.MgnlContext.getJCRSession(MgnlContext.java:642) ~[magnolia-core-5.6.2.jar:?]
at info.magnolia.ui.va
adin.integration.jcr.JcrItemUtil.getItemId(JcrItemUtil.java:177) ~[magnolia-ui-vaadin-integration-5.6.2.jar:?]
at info.magnolia.ui.vaadin.integration.contentconnector.JcrContentConnector.getItemIdByUrlFragment(JcrContentConnector.java:114) [magnolia-ui-vaadin-integration-5.6.2.j
答案 0 :(得分:1)
您还需要在公共实例上创建相同的内容应用程序。然后,您可以将内容发布到公共实例。您收到此异常是因为公共实例中不存在工作区。
干杯