You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2008/07/22 19:04:48 UTC

svn commit: r678806 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Author: cziegeler
Date: Tue Jul 22 10:04:48 2008
New Revision: 678806

URL: http://svn.apache.org/viewvc?rev=678806&view=rev
Log:
Create sling:Folder as intermediate node.

Modified:
    incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Modified: incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java?rev=678806&r1=678805&r2=678806&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java (original)
+++ incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java Tue Jul 22 10:04:48 2008
@@ -567,7 +567,7 @@
             while ( st.hasMoreTokens() ) {
                 final String name = st.nextToken();
                 if ( !currentNode.hasNode(name) ) {
-                    currentNode.addNode(name, "nt:folder");
+                    currentNode.addNode(name, "sling:Folder");
                 }
                 currentNode = currentNode.getNode(name);
             }



Re: svn commit: r678806 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Posted by Carsten Ziegeler <cz...@apache.org>.
Bertrand Delacretaz wrote:
> On Wed, Jul 23, 2008 at 11:58 AM, Bertrand Delacretaz
> <bd...@apache.org> wrote:
>> On Tue, Jul 22, 2008 at 7:04 PM,  <cz...@apache.org> wrote:
>>> Author: cziegeler
>>> Date: Tue Jul 22 10:04:48 2008
>>> New Revision: 678806
>>>
>>> URL: http://svn.apache.org/viewvc?rev=678806&view=rev
>>> Log:
>>> Create sling:Folder as intermediate node....
>> Could you create a Jira issue for that, in order to have this
>> mentioned in the change logs for the next releases? I think that's a
>> significant change....
> 
> Ah - I've read the next mail now which mentions SLING-578, sorry for
> the noise ;-)
Hehe, np - I recognized too late that there was no issue and created it 
afterwars :)

Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Re: svn commit: r678806 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Jul 23, 2008 at 11:58 AM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> On Tue, Jul 22, 2008 at 7:04 PM,  <cz...@apache.org> wrote:
>> Author: cziegeler
>> Date: Tue Jul 22 10:04:48 2008
>> New Revision: 678806
>>
>> URL: http://svn.apache.org/viewvc?rev=678806&view=rev
>> Log:
>> Create sling:Folder as intermediate node....
>
> Could you create a Jira issue for that, in order to have this
> mentioned in the change logs for the next releases? I think that's a
> significant change....

Ah - I've read the next mail now which mentions SLING-578, sorry for
the noise ;-)
-Bertrand

Re: svn commit: r678806 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Tue, Jul 22, 2008 at 7:04 PM,  <cz...@apache.org> wrote:
> Author: cziegeler
> Date: Tue Jul 22 10:04:48 2008
> New Revision: 678806
>
> URL: http://svn.apache.org/viewvc?rev=678806&view=rev
> Log:
> Create sling:Folder as intermediate node....

Could you create a Jira issue for that, in order to have this
mentioned in the change logs for the next releases? I think that's a
significant change.

Thanks,
-Bertrand