stefanseifert opened a new pull request #1:
URL:
https://github.com/apache/sling-org-apache-sling-models-validation-impl/pull/1
also update integration tests to Sling 11 to ensure they can be run with
Java 8 and Java 11
@kwin the integration tests do not run successfully - i do not fully
understand the reason. the testing bundle is deployed and the initial content
contained in it is installed, but then the validation impl throws warnings like
```
01.12.2021 21:26:09.574 *WARN* [EventAdminThread #2]
org.apache.sling.validation.impl.resourcemodel.ResourceValidationModelProviderImpl
Could not get covered resource type of newly added validation model at
/apps/sling/validation/models/model1
java.lang.IllegalStateException: Can no longer access resource at
/apps/sling/validation/models/model1
at
org.apache.sling.validation.impl.resourcemodel.ResourceValidationModelProviderImpl.getResourceTypeOfValidationModel(ResourceValidationModelProviderImpl.java:199)
[org.apache.sling.validation.core:1.0.4]
at
org.apache.sling.validation.impl.resourcemodel.ResourceValidationModelProviderImpl.handleEvent(ResourceValidationModelProviderImpl.java:163)
[org.apache.sling.validation.core:1.0.4]
at
org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)
at
org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:70)
[org.apache.felix.eventadmin:1.5.0]
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]