You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2021/09/02 09:03:14 UTC

[GitHub] [jackrabbit-filevault] DominikSuess opened a new pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

DominikSuess opened a new pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164


   …etype causing import failure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jackrabbit-filevault] kwin commented on pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

Posted by GitBox <gi...@apache.org>.
kwin commented on pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164#issuecomment-963172986


   Superseded by #179 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jackrabbit-filevault] kwin commented on a change in pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

Posted by GitBox <gi...@apache.org>.
kwin commented on a change in pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164#discussion_r700901453



##########
File path: vault-core/src/test/resources/test-packages/test_implicit_definition.zip/META-INF/vault/filter.xml
##########
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<workspaceFilter version="1.0">
+    <filter root="/testroot/myfolder"/>

Review comment:
       as `/testroot/myfolder` is contained in the package, the existing node in the repo is overwritten by an install. Since the package contents don't define a specific node type the default node type "nt:folder" is used. This is expected and is exactly the behaviour which was fixed by https://issues.apache.org/jira/browse/JCRVLT-142 / https://issues.apache.org/jira/browse/JCRVLT-415. Why should the existing `nt:unstructured` node type being preserved here? IMHO the package is just incorrect!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jackrabbit-filevault] kwin closed pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

Posted by GitBox <gi...@apache.org>.
kwin closed pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jackrabbit-filevault] kwin commented on a change in pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

Posted by GitBox <gi...@apache.org>.
kwin commented on a change in pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164#discussion_r700905125



##########
File path: vault-core/src/test/resources/test-packages/test_implicit_definition.zip/META-INF/vault/filter.xml
##########
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<workspaceFilter version="1.0">
+    <filter root="/testroot/myfolder"/>

Review comment:
       Here is the quote from @tripodsan
   
   > a directory below a filter root w/o a .content.xml should have the nodetype nt:folder.
   
   (https://issues.apache.org/jira/browse/JCRVLT-415?focusedCommentId=17046220&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17046220)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jackrabbit-filevault] kwin commented on a change in pull request #164: JCRVLT-557 - Testcase for creation of nodes calculating different nod…

Posted by GitBox <gi...@apache.org>.
kwin commented on a change in pull request #164:
URL: https://github.com/apache/jackrabbit-filevault/pull/164#discussion_r700901453



##########
File path: vault-core/src/test/resources/test-packages/test_implicit_definition.zip/META-INF/vault/filter.xml
##########
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<workspaceFilter version="1.0">
+    <filter root="/testroot/myfolder"/>

Review comment:
       as `/testroot/myfolder` is contained in the package, the existing node in the repo is overwritten by an install. Since the package contents don't define a specific node type the default node type "nt:folder" is used. This is expected and is exactly the behaviour which was fixed by https://issues.apache.org/jira/browse/JCRVLT-142/https://issues.apache.org/jira/browse/JCRVLT-415. Why should the existing `nt:unstructured` node type being preserved here? IMHO the package is just incorrect!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org