You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2014/05/15 10:52:32 UTC
svn commit: r1594825 -
/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java
Author: stefanegli
Date: Thu May 15 08:52:32 2014
New Revision: 1594825
URL: http://svn.apache.org/r1594825
Log:
SLING-2985 : buglet-fix : node.createChild now wants a node type - passing nt:unstructured atm (node type integration to follow asap)
Modified:
sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java
Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java?rev=1594825&r1=1594824&r2=1594825&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java (original)
+++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/JcrNewNodeAction.java Thu May 15 08:52:32 2014
@@ -57,7 +57,7 @@ public class JcrNewNodeAction implements
}
});
if (id.open() == IStatus.OK) {
- node.createChild(id.getValue());
+ node.createChild(id.getValue(), "nt:unstructured");
}
}