Re: Slow queries and unexpected results

2020-01-28 Thread Carlos Munoz
Hi Robert, I'm picking up this thread again since we briefly talked about this problem; allow me to recap: We are attempting to migrate bundle versions for a Sling application from their Sling 11 versions to the latest stable versions. The application is running against an already populated mongo

Re: sling.servlet.resolution = strict ?

2020-01-28 Thread Carsten Ziegeler
Works for me, too Carsten On 28.01.2020 11:20, Bertrand Delacretaz wrote: Hi Radu, On Tue, Jan 28, 2020 at 5:39 PM Radu Cotescu wrote: On 28 Jan 2020, at 17:20, Bertrand Delacretaz wrote: ... sling.servlet.extpaths = true.. What about “sling.servlet.paths.strict”? A value of false

[jira] [Resolved] (SLING-7768) Add String Interpolation support to /etc/map

2020-01-28 Thread Andreas Schaefer (Jira)
[ https://issues.apache.org/jira/browse/SLING-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Schaefer resolved SLING-7768. - Fix Version/s: Resource Resolver 1.6.18 Assignee: Andreas Schaefer

[jira] [Created] (SLING-9036) Sling Models: SlingHttpServletRequestWrapper.adaptTo() unwraps before adapting

2020-01-28 Thread Henry Kuijpers (Jira)
Henry Kuijpers created SLING-9036: - Summary: Sling Models: SlingHttpServletRequestWrapper.adaptTo() unwraps before adapting Key: SLING-9036 URL: https://issues.apache.org/jira/browse/SLING-9036

[GitHub] [sling-org-apache-sling-resourceresolver] schaefa merged pull request #15: Feature/sling 7768: String Interpolation for ETC Map

2020-01-28 Thread GitBox
schaefa merged pull request #15: Feature/sling 7768: String Interpolation for ETC Map URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/15 This is an automated message from the Apache Git Service.

[GitHub] [sling-org-apache-sling-resourceresolver] sonarcloud[bot] removed a comment on issue #15: Feature/sling 7768: String Interpolation for ETC Map

2020-01-28 Thread GitBox
sonarcloud[bot] removed a comment on issue #15: Feature/sling 7768: String Interpolation for ETC Map URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/15#issuecomment-577875255 SonarCloud Quality Gate failed.

[GitHub] [sling-org-apache-sling-resourceresolver] sonarcloud[bot] commented on issue #15: Feature/sling 7768: String Interpolation for ETC Map

2020-01-28 Thread GitBox
sonarcloud[bot] commented on issue #15: Feature/sling 7768: String Interpolation for ETC Map URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/15#issuecomment-579498600 SonarCloud Quality Gate failed.

RE: [CaConfig][OSGI Mocks] Provide custom configuration for the CaConfig components...

2020-01-28 Thread Stefan Seifert
the problem is that the reconfiguration is done too late, and the service is already instantiated and the configuration not updated. sling mocks/osgi mocks currently only supports providing configuration before the service is registered. if you put your configuration code in a beforeSetup block

Re: [VOTE] Promote sling-org-apache-sling-feature-starter / sling-slingstart-feature-maven-plugin to its own Sling Module

2020-01-28 Thread Andreas Schaefer
Hi I created a simple project that illustrates on how the Sling Feature Starter and the Slingstart Feaute Maven Plugin can be used: https://github.com/schaefa/sling-fm-sample The README.md has the instructions on how to build, launch and access it.

[VOTE] Release Apache Sling JCR Packageinit 1.0.0

2020-01-28 Thread Andreas Schaefer
Hi, This is the initial release of the JCR Package Init module which is necessary for converted Content Package to be installed into a Feature Model based Sling instance. We solved 3 issues in this release: https://issues.apache.org/jira/projects/SLING/versions/12346903

[GitHub] [sling-org-apache-sling-distribution-core] sonarcloud[bot] commented on issue #33: SLING-9017 ErrorQueueDispatchingStrategy ends up using an incorrect …

2020-01-28 Thread GitBox
sonarcloud[bot] commented on issue #33: SLING-9017 ErrorQueueDispatchingStrategy ends up using an incorrect … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/33#issuecomment-579431985 SonarCloud Quality Gate failed.

[jira] [Updated] (SLING-8222) Statushandling of executionplans in PackageInit misses out behavior of content-extension on restarts

2020-01-28 Thread Andreas Schaefer (Jira)
[ https://issues.apache.org/jira/browse/SLING-8222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Schaefer updated SLING-8222: Fix Version/s: JCR Package Init 1.0.0 > Statushandling of executionplans in PackageInit

[jira] [Updated] (SLING-7871) Add vault executionplan based package repository initalizer

2020-01-28 Thread Andreas Schaefer (Jira)
[ https://issues.apache.org/jira/browse/SLING-7871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Schaefer updated SLING-7871: Fix Version/s: JCR Package Init 1.0.0 > Add vault executionplan based package repository

[jira] [Updated] (SLING-8010) Flaw when executionplans are configured as empty in packageinit

2020-01-28 Thread Andreas Schaefer (Jira)
[ https://issues.apache.org/jira/browse/SLING-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Schaefer updated SLING-8010: Fix Version/s: JCR Package Init 1.0.0 > Flaw when executionplans are configured as empty

Re: sling.servlet.resolution = strict ?

2020-01-28 Thread Bertrand Delacretaz
Hi Radu, On Tue, Jan 28, 2020 at 5:39 PM Radu Cotescu wrote: > > On 28 Jan 2020, at 17:20, Bertrand Delacretaz > > wrote: > > ... sling.servlet.extpaths = true.. > > > What about “sling.servlet.paths.strict”? A value of false (default) keeps the > previous behaviour... That's indeed a good

Re: sling.servlet.resolution = strict ?

2020-01-28 Thread Radu Cotescu
Hi Bertrand, > On 28 Jan 2020, at 17:20, Bertrand Delacretaz wrote: > > Hi, > > On Tue, Dec 3, 2019 at 3:54 PM Bertrand Delacretaz > wrote: >> ...For SLING-8110 I'd like to take into account the >> sling.servlet.extensions and sling.servlet.methods properties... > ... >> To keep backwards

Re: sling.servlet.resolution = strict ?

2020-01-28 Thread Bertrand Delacretaz
Hi, On Tue, Dec 3, 2019 at 3:54 PM Bertrand Delacretaz wrote: > ...For SLING-8110 I'd like to take into account the > sling.servlet.extensions and sling.servlet.methods properties... ... > To keep backwards compatibility, I suggest adding a new optional > sling.servlet.resolution property that

Re: [VOTE] Release Apache Sling XSS Protection API 2.2.2

2020-01-28 Thread Andreas Schaefer
+1 (non-binding) - Andy > On Jan 28, 2020, at 7:24 AM, Radu Cotescu wrote: > > Hi, > > We solved 1 issue in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12346870 > > Staging repository: > https://repository.apache.org/content/repositories/orgapachesling-2191/ >

[VOTE] Release Apache Sling XSS Protection API 2.2.2

2020-01-28 Thread Radu Cotescu
Hi, We solved 1 issue in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12346870 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-2191/ You can use this UNIX script to download the release and verify the signatures:

[jira] [Resolved] (SLING-9035) The XSSProtectionAPIWebConsolePlugin fails to load resources when deployed under a custom context path

2020-01-28 Thread Radu Cotescu (Jira)
[ https://issues.apache.org/jira/browse/SLING-9035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu resolved SLING-9035. - Resolution: Fixed Fixed in [commit

[jira] [Created] (SLING-9035) The XSSProtectionAPIWebConsolePlugin fails to load resources when deployed under a custom context path

2020-01-28 Thread Radu Cotescu (Jira)
Radu Cotescu created SLING-9035: --- Summary: The XSSProtectionAPIWebConsolePlugin fails to load resources when deployed under a custom context path Key: SLING-9035 URL:

[CaConfig][OSGI Mocks] Provide custom configuration for the CaConfig components...

2020-01-28 Thread Daniel Platon
Hi everyone, I'm trying to use the "Apache Sling Context-Aware Configuration Mock Plugin" in my unit tests and I stumbled into an issue: I want to provide a custom configuration for org.apache.sling.caconfig.impl.ConfigurationResolverImpl and it doesn't work. I followed the docs at [0] to

Re: [VOTE] Release Apache Sling Testing OSGi Mock 2.4.14, Testing ResourceResolver Mock 1.1.26, Testing Sling Mock 2.4.0

2020-01-28 Thread Carsten Ziegeler
+1 Carsten On 27.01.2020 10:42, Stefan Seifert wrote: Hi, Testing OSGi Mock 2.4.14 (2 issues) https://issues.apache.org/jira/browse/SLING/fixforversion/12345986 Testing ResourceResolver Mock 1.1.26 (2 issues) https://issues.apache.org/jira/browse/SLING/fixforversion/12345059 Testing Sling

[GitHub] [sling-org-apache-sling-distribution-core] cschneider commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
cschneider commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579241722 I think logging the exception only if debug is enabled is good. It is just that

[jira] [Comment Edited] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Ashish Chopra (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17025084#comment-17025084 ] Ashish Chopra edited comment on SLING-9030 at 1/28/20 12:42 PM: Hi

[Jenkins] Sling » sling-org-apache-sling-launchpad-testing » master #550 is FIXED

2020-01-28 Thread Apache Jenkins Server
Please see https://builds.apache.org/job/Sling/job/sling-org-apache-sling-launchpad-testing/job/master/550/ for details. No further emails will be sent until the status of the build is changed.

[jira] [Commented] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Ashish Chopra (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17025084#comment-17025084 ] Ashish Chopra commented on SLING-9030: -- Hi [~marett] and [~cscheid], please provide your opinion on

[Jenkins] Sling » sling-org-apache-sling-launchpad-testing » master #549 is BROKEN

2020-01-28 Thread Apache Jenkins Server
Please see https://builds.apache.org/job/Sling/job/sling-org-apache-sling-launchpad-testing/job/master/549/ for details. No further emails will be sent until the status of the build is changed. Build log follows below: [...truncated 2995 lines...] [INFO] [INFO] ---

[GitHub] [sling-org-apache-sling-distribution-core] actinium15 edited a comment on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
actinium15 edited a comment on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579223873 >I suggest to simply lower the logging to WARN in general here.

[GitHub] [sling-org-apache-sling-distribution-core] actinium15 edited a comment on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
actinium15 edited a comment on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579223873 >I suggest to simply lower the logging to WARN in general here.

[GitHub] [sling-org-apache-sling-distribution-core] actinium15 commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
actinium15 commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579223873 >I suggest to simply lower the logging to WARN in general here. I didn't

[GitHub] [sling-org-apache-sling-distribution-core] cschneider commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
cschneider commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579221023 Why did you close the PR ? I requested to change the PR to reflect logging at

[jira] [Commented] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Timothee Maret (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17025069#comment-17025069 ] Timothee Maret commented on SLING-9030: --- bq. Perhaps the logging can be less verbose and can be

[jira] [Comment Edited] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Timothee Maret (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17025069#comment-17025069 ] Timothee Maret edited comment on SLING-9030 at 1/28/20 12:20 PM: - bq.

[GitHub] [sling-org-apache-sling-distribution-core] tmaret closed pull request #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
tmaret closed pull request #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34 This is an automated message from the

[GitHub] [sling-org-apache-sling-distribution-core] tmaret commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
tmaret commented on issue #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34#issuecomment-579218838 @actinium15 I share @cschneider view here. Simply logging at WARN level makes sense.

Re: [VOTE] Release Apache Sling Testing OSGi Mock 2.4.14, Testing ResourceResolver Mock 1.1.26, Testing Sling Mock 2.4.0

2020-01-28 Thread Radu Cotescu
+1 > On 27 Jan 2020, at 19:42, Stefan Seifert wrote: > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ...

Re: [VOTE] Release Apache Sling Testing OSGi Mock 2.4.14, Testing ResourceResolver Mock 1.1.26, Testing Sling Mock 2.4.0

2020-01-28 Thread Robert Munteanu
On Mon, 2020-01-27 at 18:42 +, Stefan Seifert wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

[jira] [Created] (SLING-9034) The MemebersFinder service throws a NPE if the name is missing from an email address

2020-01-28 Thread Radu Cotescu (Jira)
Radu Cotescu created SLING-9034: --- Summary: The MemebersFinder service throws a NPE if the name is missing from an email address Key: SLING-9034 URL: https://issues.apache.org/jira/browse/SLING-9034

[jira] [Resolved] (SLING-9034) The MemebersFinder service throws a NPE if the name is missing from an email address

2020-01-28 Thread Radu Cotescu (Jira)
[ https://issues.apache.org/jira/browse/SLING-9034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu resolved SLING-9034. - Resolution: Fixed Fixed in [commit

[jira] [Closed] (SLING-8142) Add a require validation mode to the servicemapper

2020-01-28 Thread Karl Pauls (Jira)
[ https://issues.apache.org/jira/browse/SLING-8142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Pauls closed SLING-8142. - > Add a require validation mode to the servicemapper > -- >

Re: [RESULT][VOTE] Release Apache Sling Service User Mapper 1.4.6

2020-01-28 Thread Karl Pauls
Time to call the vote on the Apache Sling Service User Mapper 1.4.6 release. * +1 votes from Radu Cotescu, Carsten Ziegeler, Stefan Seifert, David Bosschaert, and Karl Pauls. * No other votes. The vote is successful. I will make the artifacts available as soon as possible.

Re: [VOTE] Release Apache Sling Service User Mapper 1.4.6

2020-01-28 Thread Karl Pauls
+1 regards, Karl On Wed, Jan 22, 2020 at 8:50 PM wrote: > > +1 > > David > > On Wed, 22 Jan 2020 at 12:45, Karl Pauls wrote: > > > We solved 1 issues in this release: > > https://issues.apache.org/jira/projects/SLING/versions/12344584 > > > > Staging repository: > >

[jira] [Updated] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Mohit Arora (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mohit Arora updated SLING-9030: --- Description:

[jira] [Commented] (SLING-9030) SimpleDistributionAgentQueueProcessor does not distinguish between recoverable and non-recoverable exceptions

2020-01-28 Thread Ashish Chopra (Jira)
[ https://issues.apache.org/jira/browse/SLING-9030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17024977#comment-17024977 ] Ashish Chopra commented on SLING-9030: -- PR:

[GitHub] [sling-org-apache-sling-distribution-core] actinium15 opened a new pull request #34: SLING-9030 less verbose logging for retryable-distribution-failures …

2020-01-28 Thread GitBox
actinium15 opened a new pull request #34: SLING-9030 less verbose logging for retryable-distribution-failures … URL: https://github.com/apache/sling-org-apache-sling-distribution-core/pull/34 …in SimpleDistributionAgentQueueProcessor

[jira] [Resolved] (SLING-9033) Never export conditional packages

2020-01-28 Thread Konrad Windszus (Jira)
[ https://issues.apache.org/jira/browse/SLING-9033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus resolved SLING-9033. Resolution: Fixed Fixed in

[jira] [Created] (SLING-9033) Never export conditional packages

2020-01-28 Thread Konrad Windszus (Jira)
Konrad Windszus created SLING-9033: -- Summary: Never export conditional packages Key: SLING-9033 URL: https://issues.apache.org/jira/browse/SLING-9033 Project: Sling Issue Type: Improvement