Re: Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-15 Thread Julian Reschke

Am 15.10.2020 um 11:49 schrieb Mayur Barge:

Hello,
I am trying to migrate my datasource from Postgres to Mongo. I have added
the driver file in CLASSPATH
*CLASSPATH=/Users/mbn2671/Downloads/jar_files/oak-upgrade-1.8.7.jar:/Users/mbn2671/Downloads/jar_files/postgresql-42.2.17.jar:.*

This is a Mac machine I am using. Now what I want to achieve is migrate
datastores from
Postgres => MongoDB
The below command i am trying to use

*java -verbose -jar oak-upgrade-1.8.7.jar --src-password='***'
--src-user=ABC --user=XYZ --password=***
'jdbc:postgresql://POSTGRESHOST:5432/DB'
'mongodb://MONGOHOST:27017/migration-test'*

It says,


*15.10.2020 15:17:44.041 [main] *INFO*
  org.apache.jackrabbit.oak.plugins.document.rdb.RDBDataSourceFactory -
trying to obtain driver for
jdbc:postgresql://op-ampp-dev-pgsql-01.springernature.com:5432/acdc_cms_dev
java.sql.SQLException:
No suitable driver at
java.sql.DriverManager.getDriver(DriverManager.java:315) ~[na:1.8.0_261]*


Kindly let me know what could be the issue


"java -jar" ignores the CLASSPATH. You need to use "-cp" and specify the
entry point. See
.

Best regards, Julian



Error while migrating the Datastores from PostgreSQL to MongoDB

2020-10-15 Thread Mayur Barge
Hello,
I am trying to migrate my datasource from Postgres to Mongo. I have added
the driver file in CLASSPATH
*CLASSPATH=/Users/mbn2671/Downloads/jar_files/oak-upgrade-1.8.7.jar:/Users/mbn2671/Downloads/jar_files/postgresql-42.2.17.jar:.*

This is a Mac machine I am using. Now what I want to achieve is migrate
datastores from
Postgres => MongoDB
The below command i am trying to use

*java -verbose -jar oak-upgrade-1.8.7.jar --src-password='***'
--src-user=ABC --user=XYZ --password=***
'jdbc:postgresql://POSTGRESHOST:5432/DB'
'mongodb://MONGOHOST:27017/migration-test'*

It says,


*15.10.2020 15:17:44.041 [main] *INFO*
 org.apache.jackrabbit.oak.plugins.document.rdb.RDBDataSourceFactory -
trying to obtain driver for
jdbc:postgresql://op-ampp-dev-pgsql-01.springernature.com:5432/acdc_cms_dev
java.sql.SQLException:
No suitable driver at
java.sql.DriverManager.getDriver(DriverManager.java:315) ~[na:1.8.0_261]*


Kindly let me know what could be the issue


[GitHub] [jackrabbit-filevault] kwin merged pull request #98: JCRVLT-462, JCRVLT-463, JCRVLT-461

2020-10-15 Thread GitBox


kwin merged pull request #98:
URL: https://github.com/apache/jackrabbit-filevault/pull/98


   



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.

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




[GitHub] [jackrabbit-filevault] kwin merged pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


kwin merged pull request #99:
URL: https://github.com/apache/jackrabbit-filevault/pull/99


   



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.

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




[GitHub] [jackrabbit-filevault] sonarcloud[bot] removed a comment on pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


sonarcloud[bot] removed a comment on pull request #99:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/99#issuecomment-709028680


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.
 
io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=coverage=list)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
   
   



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.

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




[GitHub] [jackrabbit-filevault] sonarcloud[bot] commented on pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


sonarcloud[bot] commented on pull request #99:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/99#issuecomment-709038966


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.
 
io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=coverage=list)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
   
   



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.

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




[GitHub] [jackrabbit-filevault] sonarcloud[bot] commented on pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


sonarcloud[bot] commented on pull request #99:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/99#issuecomment-709028680


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.
 
io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=coverage=list)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
   
   



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.

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




[GitHub] [jackrabbit-filevault] sonarcloud[bot] removed a comment on pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


sonarcloud[bot] removed a comment on pull request #99:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/99#issuecomment-709016086


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.
 
io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=coverage=list)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_265) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

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




[GitHub] [jackrabbit-filevault] sonarcloud[bot] commented on pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


sonarcloud[bot] commented on pull request #99:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/99#issuecomment-709016086


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.
 
io/project/issues?id=apache_jackrabbit-filevault=99=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_jackrabbit-filevault=99=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=coverage=list)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_jackrabbit-filevault=99=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_265) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

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




[jira] [Updated] (JCRVLT-465) VLT-RCP and Core require DS 1.4 due to constructor injection

2020-10-15 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/JCRVLT-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated JCRVLT-465:
---
Description: 
Although with JCRVLT-436 compatibility from a package import PoV has been 
restored with Jackrabbit 2.14 (ships with AEM 6.3) it requires OSGi DS 1.4 due 
to the usage of constructor injection in {{RcpTaskManagerImpl}}. AEM 6.3 still 
ships with DS 1.3 and only AEM 6.4 supports DS 1.4.
The log message which can be seen in the logs is
{code}
11.08.2020 17:21:02.359 *ERROR* [qtp884469201-165] 
org.apache.jackrabbit.vault.rcp 
[org.apache.jackrabbit.vault.rcp.impl.RcpTaskManagerImpl(3004)] Error during 
instantiation of the implementation object (java.lang.InstantiationException: 
org.apache.jackrabbit.vault.rcp.impl.RcpTaskManagerImpl)
java.lang.InstantiationException: 
org.apache.jackrabbit.vault.rcp.impl.RcpTaskManagerImpl
 at java.lang.Class.newInstance(Unknown Source)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:237)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:109)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:823)
 at 
org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:347)
 at 
org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247)
 at 
org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
 at org.apache.felix.framework.Felix.getService(Felix.java:3700)
 at 
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
 at 
org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
 at 
org.apache.felix.scr.impl.inject.FieldHandler$ReferenceMethodImpl.getServiceObject(FieldHandler.java:985)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2201)
 at 
org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(DependencyManager.java:1118)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1520)
 at 
org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1006)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:859)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:823)
 at 
org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:347)
 at 
org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247)
 at 
org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
 at org.apache.felix.framework.Felix.getService(Felix.java:3700)
 at 
org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
 at 
org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:1461)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:1434)
 at 
org.apache.felix.scr.impl.manager.ComponentContextImpl.locateService(ComponentContextImpl.java:147)
 at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.createServlet(SlingServletResolver.java:968)
 at 
org.apache.sling.servlets.resolver.internal.SlingServletResolver.bindServlet(SlingServletResolver.java:930)
 at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
 at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
 at 
org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
 at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
 at org.apache.felix.scr.impl.inject.BindMethod.invoke(BindMethod.java:655)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:1722)
 at 
org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1699)
 at 
org.apache.felix.scr.impl.manager.SingleComponentManager.invokeBindMethod(SingleComponentManager.java:372)
 at 
org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:320)
 at 

[jira] [Updated] (JCRVLT-475) Enable Sonarcloud.io analysis with Travis

2020-10-15 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/JCRVLT-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated JCRVLT-475:
---
Assignee: Konrad Windszus
  Status: Patch Available  (was: Open)

> Enable Sonarcloud.io analysis with Travis
> -
>
> Key: JCRVLT-475
> URL: https://issues.apache.org/jira/browse/JCRVLT-475
> Project: Jackrabbit FileVault
>  Issue Type: Improvement
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: package-maven-plugin-1.1.6, 3.4.8
>
>
> After the projects have been created in INFRA-20956 both code coverage should 
> be calculated as well as the actual Sonar build should be executed as 
> outlined in 
> https://sonarcloud.io/project/configuration?analysisMode=GitHubTravis=apache_jackrabbit-filevault.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JCRVLT-475) Enable Sonarcloud.io analysis with Travis

2020-10-15 Thread Konrad Windszus (Jira)


[ 
https://issues.apache.org/jira/browse/JCRVLT-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214484#comment-17214484
 ] 

Konrad Windszus commented on JCRVLT-475:


PR: https://github.com/apache/jackrabbit-filevault/pull/99

> Enable Sonarcloud.io analysis with Travis
> -
>
> Key: JCRVLT-475
> URL: https://issues.apache.org/jira/browse/JCRVLT-475
> Project: Jackrabbit FileVault
>  Issue Type: Improvement
>Reporter: Konrad Windszus
>Priority: Major
> Fix For: package-maven-plugin-1.1.6, 3.4.8
>
>
> After the projects have been created in INFRA-20956 both code coverage should 
> be calculated as well as the actual Sonar build should be executed as 
> outlined in 
> https://sonarcloud.io/project/configuration?analysisMode=GitHubTravis=apache_jackrabbit-filevault.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [jackrabbit-filevault] kwin opened a new pull request #99: JCRVLT-475 enable Sonarcloud.io reporting

2020-10-15 Thread GitBox


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


   



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.

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




[jira] [Comment Edited] (JCRVLT-462) Nodetype validator complains about root node

2020-10-15 Thread Konrad Windszus (Jira)


[ 
https://issues.apache.org/jira/browse/JCRVLT-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17180613#comment-17180613
 ] 

Konrad Windszus edited comment on JCRVLT-462 at 10/15/20, 6:57 AM:
---

Is fixed by https://github.com/apache/jackrabbit-filevault/pull/98. [~sseifert] 
Can you cross-check?


was (Author: kwin):
PR: https://github.com/apache/jackrabbit-filevault/pull/98/files

> Nodetype validator complains about root node
> 
>
> Key: JCRVLT-462
> URL: https://issues.apache.org/jira/browse/JCRVLT-462
> Project: Jackrabbit FileVault
>  Issue Type: Bug
>  Components: vlt
>Affects Versions: 3.4.6, package-maven-plugin-1.1.4
>Reporter: Stefan Seifert
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: 3.4.8
>
>
> if a content package is downloaded via CRX package manager it usually also 
> contains intermediate note definitions up to the root node in the 
> {{jcr_root}} folder.
> the nodetype validator added recently complains about this root node 
> definition which is included by default:
> {noformat}
> [ERROR] ValidationViolation: "jackrabbit-nodetypes: Node 
> '{http://www.jcp.org/jcr/1.0}root [rep:root (rep:AccessControllable, 
> rep:RepoAccessControllable)]' is not allowed as child of not contained node 
> with potential default types '[nt:folder]': Could not find matching child 
> node definition in parent's node type", filePath=jcr_root\.content.xml, 
> nodePath=/, line=6, column=33
> [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory child node 
> missing: jcr:system [rep:system]", filePath=jcr_root\.content.xml, 
> nodePath=/, line=6, column=33
> {noformat}
> as a workaround i could remove the {{.content.xml}} file from the 
> {{jcr_root}} folder, but i prefer to keep exactly the content that is 
> contained in the content package.
> with this AEM sample project it is possible to reproduce the problem:
> https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/conf-content
> https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/sample-content



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JCRVLT-463) jackrabbit-nodetypes: Mandatory child node missing: jcr:content [nt:base]

2020-10-15 Thread Konrad Windszus (Jira)


[ 
https://issues.apache.org/jira/browse/JCRVLT-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214473#comment-17214473
 ] 

Konrad Windszus commented on JCRVLT-463:


Is fixed by https://github.com/apache/jackrabbit-filevault/pull/98. [~sseifert] 
Can you cross-check?

> jackrabbit-nodetypes: Mandatory child node missing: jcr:content [nt:base]
> -
>
> Key: JCRVLT-463
> URL: https://issues.apache.org/jira/browse/JCRVLT-463
> Project: Jackrabbit FileVault
>  Issue Type: Bug
>  Components: vlt
>Affects Versions: 3.4.6
>Reporter: Stefan Seifert
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: 3.4.8
>
>
> the node type validator complains fails with this error message:
> {noformat}
> [ERROR] ValidationViolation: "jackrabbit-nodetypes: Mandatory child node 
> missing: jcr:content [nt:base]", 
> filePath=jcr_root\conf\filevaultsample\settings\wcm\templates\contentpage\thumbnail.png.dir\.content.xml,
>  
> nodePath=/conf/filevaultsample/settings/wcm/templates/contentpage/thumbnail.png,
>  line=7, column=12
> {noformat}
> when a content package is downloaded from AEM that contains editable template 
> definitions with a thumbnail image. but the content structure looks ok, so i 
> assume this validation error is a bug.
> it can be reproduced with this sample project:
> https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/conf-content



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (JCRVLT-461) jackrabbit-nodetypes: Mandatory property ''{http://www.jcp.org/jcr/1.0}data' missing in node with types [oak:Resource]

2020-10-15 Thread Konrad Windszus (Jira)


[ 
https://issues.apache.org/jira/browse/JCRVLT-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17214472#comment-17214472
 ] 

Konrad Windszus commented on JCRVLT-461:


Is fixed by https://github.com/apache/jackrabbit-filevault/pull/98. [~sseifert] 
Can you cross-check?

> jackrabbit-nodetypes: Mandatory property ''{http://www.jcp.org/jcr/1.0}data' 
> missing in node with types [oak:Resource]
> --
>
> Key: JCRVLT-461
> URL: https://issues.apache.org/jira/browse/JCRVLT-461
> Project: Jackrabbit FileVault
>  Issue Type: Bug
>  Components: vlt
>Affects Versions: 3.4.6
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: 3.4.8
>
>
> This is due to the fact that currently only {{jcr:data}} property attributes 
> below {{nt:resource}} types are ignored (but not below {{oak:Resource}}).
> In general an improved 
> https://jackrabbit.apache.org/filevault/vaultfs.html#Extended_File_aggregates 
> and https://jackrabbit.apache.org/filevault/vaultfs.html#Resource_Nodes 
> handling should be implemented which
> # detects {{jcr:data}} properties provided by binary files
> # will defer checking for mandatory missing properties until the parent node 
> is fully processed (i.e. attributes by sibling files are processed)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)