Konrad Windszus created SLING-3686:
--------------------------------------
Summary: Create parent node automatically if it does not exist yet
and is not covered by the filter.xml
Key: SLING-3686
URL: https://issues.apache.org/jira/browse/SLING-3686
Project: Sling
Issue Type: Improvement
Affects Versions: Sling Eclipse IDE 1.0.0
Reporter: Konrad Windszus
Priority: Critical
Currently if I try to publish a node, whose parent does not exist yet in the
repository and is not covered by the filter.xml either the following exception
occurs
{code}
Failed publishing path=/apps/social/blog/components, result=JcrResult[
success:false, exception: org.apache.sling.ide.transport.RepositoryException -
javax.jcr.RepositoryException: No parent found at /apps/social/blog ; it's
needed to create node at /apps/social/blog/components]
{code}
The tool should behave similar to the package installer, i.e. create those
parent nodes with a default type (i.e. nt:folder) and only log that as a
warning.
--
This message was sent by Atlassian JIRA
(v6.2#6252)