Hey there,
since yesterday I have been facing the following problem:

I tried to create a new content app basing on this instruction:

https://documentation.magnolia-cms.com/display/DOCS/My+first+content+app#0accd964f6644ca9832df0022ffbf7f8

unfortunately, after creating the same catalog tree in my java project and 
starting the Tomcat server I still wasn't able to see the JCR node in 
config/modules/mymodule/products.

I created a new section in 'edit' group, but after clicking it I am redirected 
to the catalog without any buttons available (edit, add product etc. despite 
adding them in products.yaml) and I get this error:

2017-01-11 11:43:55,735 ERROR 
n.integration.contentconnector.JcrContentConnector: Failed to retrieve default 
id: products, returning null.
javax.jcr.NoSuchWorkspaceException: products
        at 
info.magnolia.repository.DefaultRepositoryManager.getSession(DefaultRepositoryManager.java:300)
        at 
info.magnolia.context.DefaultRepositoryStrategy.internalGetSession(DefaultRepositoryStrategy.java:61)
        at 
info.magnolia.context.AbstractRepositoryStrategy.getSession(AbstractRepositoryStrategy.java:75)
        at 
info.magnolia.context.AbstractContext.getJCRSession(AbstractContext.java:132)
        at info.magnolia.context.MgnlContext.getJCRSession(MgnlContext.java:656)
        at 
info.magnolia.ui.vaadin.integration.jcr.JcrItemUtil.getItemId(JcrItemUtil.java:17
...

It was ok, because the JCR node was not created.

But then, I tried to add the JCR node with products parameters step by step by 
myself, and I kept getting this error.

Do you guys have any idea what's the cause of this problem? Some dependencies 
or sth? Maybe I should add some handlers, classes to my project?

I would add, that in magnolia-travels demo there is no catalog 'app' present in 
the whole project, and despite this content-apps are visible in author panel.

I completely don't get this approach + it is not explained in magnolia's 
documentation.

Thanks in advance for your reply.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2b52e08a-9051-40c3-8e4c-954c9823dfd2


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to