[Sightly] provide access to the Script Resource Resolver in RenderContext

2015-01-22 Thread Radu Cotescu
Hi, There are cases when Sightly RuntimeExtensions might need to access the repository. Since creating multiple ResourceResolvers is not a cheap operation, especially with Jackrabbit, wouldn't it be better to enhance the RenderContext to make it provide the ResourceResolver available in the

org.apache.sling.urlrewriter installation

2015-01-22 Thread Antonio Sanso
hi *, in order to try to solve SLING-3829 [0] I have been tried the approach proposed by Oliver. So I have tried to install org.apache.sling.urlrewriter. First step as suggested is to install mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.urlrewritefilter/4.0.4_1 and this

[jira] [Updated] (SLING-4325) SlingQuery doesn't compare multivalue properties

2015-01-22 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4325: --- Assignee: Robert Munteanu SlingQuery doesn't compare multivalue properties

[jira] [Commented] (SLING-4325) SlingQuery doesn't compare multivalue properties

2015-01-22 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287197#comment-14287197 ] Robert Munteanu commented on SLING-4325: Patch applied, thanks for the

[jira] [Resolved] (SLING-4325) SlingQuery doesn't compare multivalue properties

2015-01-22 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-4325. Resolution: Fixed SlingQuery doesn't compare multivalue properties

SlingQuery - exported API

2015-01-22 Thread Robert Munteanu
Hi, While doing a recent build of SlingQuery I realized that all packages are exported with the project's version, so we need to add package-info.java files and start versioning. However, I am curious whether all packages are actually intended to be exported ( list below ) Thoughts? Robert

[jira] [Commented] (SLING-4340) SLING-4247 created odd side-effects

2015-01-22 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287172#comment-14287172 ] Bertrand Delacretaz commented on SLING-4340: Aren't there tests to demonstrate

[jira] [Resolved] (SLING-4345) RootResourceProviderEntry.queryResources iterator causes infinite loop

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-4345. - Resolution: Duplicate RootResourceProviderEntry.queryResources iterator causes infinite

[jira] [Commented] (SLING-4340) SLING-4247 created odd side-effects

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287984#comment-14287984 ] Carsten Ziegeler commented on SLING-4340: - We don't have tests as we don't know

[jira] [Updated] (SLING-4342) [Sightly] Reduce the number of repository reads

2015-01-22 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu updated SLING-4342: Attachment: SLING-4342.patch The attached patch ([^SLING-4342.patch]) provides the following

[jira] [Created] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Axel Hanikel (JIRA)
Axel Hanikel created SLING-4343: --- Summary: Iterator from JcrResourceProvider.queryResources() keeps returning same value on next() Key: SLING-4343 URL: https://issues.apache.org/jira/browse/SLING-4343

[jira] [Commented] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Axel Hanikel (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287658#comment-14287658 ] Axel Hanikel commented on SLING-4343: - The following seems to fix it: {code} @@

[jira] [Created] (SLING-4344) Removing a i18n key in a path outside the resource resolver search path will not invalidate the ResourceBundleCache

2015-01-22 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-4344: -- Summary: Removing a i18n key in a path outside the resource resolver search path will not invalidate the ResourceBundleCache Key: SLING-4344 URL:

Build failed in Jenkins: sling-trunk-1.8 #644

2015-01-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.8/644/changes Changes: [mpetria] SLING-4341: removing package also when a package is deleted from queue -- [...truncated 54892 lines...] [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @

[jira] [Updated] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-4344: --- Summary: Modifying i18n language node in a path outside the resource resolver's search path

[GitHub] sling pull request: SLINK-848 - versioning support

2015-01-22 Thread trekawek
GitHub user trekawek opened a pull request: https://github.com/apache/sling/pull/57 SLINK-848 - versioning support You can merge this pull request into a Git repository by running: $ git pull https://github.com/trekawek/sling SLING-848-versioning Alternatively you can review

[jira] [Updated] (SLING-4212) Sling Models: Allow multiple values from ValueMap in the resource-path injector

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-4212: -- Fix Version/s: Sling Models Impl 1.2.0 Sling Models API 1.2.0

[jira] [Commented] (SLING-848) Support getting versioned resources by using uri path parameters

2015-01-22 Thread JIRA
[ https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288340#comment-14288340 ] Tomek Rękawek commented on SLING-848: - Hello after 5 years :). I dug up this issue as

[jira] [Updated] (SLING-4212) Sling Models: Allow multiple values from ValueMap in the resource-path injector

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-4212: -- Attachment: resourcePath-API_updated.patch i've checked the updated patch and did some cosmetic

Re: org.apache.sling.urlrewriter installation

2015-01-22 Thread Oliver Lietz
On Thursday 22 January 2015 13:02:05 Antonio Sanso wrote: hi *, hi Antonio, in order to try to solve SLING-3829 [0] I have been tried the approach proposed by Oliver. So I have tried to install org.apache.sling.urlrewriter. First step as suggested is to install

[jira] [Created] (SLING-4341) Removing packages from queues should also delete packages

2015-01-22 Thread Marius Petria (JIRA)
Marius Petria created SLING-4341: Summary: Removing packages from queues should also delete packages Key: SLING-4341 URL: https://issues.apache.org/jira/browse/SLING-4341 Project: Sling

Re: org.apache.sling.urlrewriter installation

2015-01-22 Thread Antonio Sanso
On Jan 22, 2015, at 3:52 PM, Oliver Lietz apa...@oliverlietz.de wrote: On Thursday 22 January 2015 13:02:05 Antonio Sanso wrote: hi *, hi Antonio, in order to try to solve SLING-3829 [0] I have been tried the approach proposed by Oliver. So I have tried to install

[jira] [Created] (SLING-4342) [Sightly] Reduce the number of repository reads

2015-01-22 Thread Radu Cotescu (JIRA)
Radu Cotescu created SLING-4342: --- Summary: [Sightly] Reduce the number of repository reads Key: SLING-4342 URL: https://issues.apache.org/jira/browse/SLING-4342 Project: Sling Issue Type:

[jira] [Commented] (SLING-4242) Sling Models: make enums injectable from Resource/ValueMap

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288373#comment-14288373 ] Stefan Seifert commented on SLING-4242: --- ah, you are correct - the type mapping does

[jira] [Commented] (SLING-3709) Sling Models: Allow caller to deal with exceptions

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288387#comment-14288387 ] Stefan Seifert commented on SLING-3709: --- [~kwin] is there any work left on this

[jira] [Resolved] (SLING-4059) Sling Models: ResourceResolverInjector is obsolete

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert resolved SLING-4059. --- Resolution: Fixed Assignee: Stefan Seifert Completed: At revision: 1654093 i've

[jira] [Commented] (SLING-4112) Sling Models: Optimize performance when read sling models annotations

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288477#comment-14288477 ] Stefan Seifert commented on SLING-4112: --- Completed: At revision: 1654099 make

[jira] [Commented] (SLING-4059) Sling Models: ResourceResolverInjector is obsolete

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288407#comment-14288407 ] Stefan Seifert commented on SLING-4059: --- Completed: At revision: 1654095 removed

[jira] [Resolved] (SLING-4112) Sling Models: Optimize performance when read sling models annotations

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert resolved SLING-4112. --- Resolution: Fixed Completed: At revision: 1654097 updated documentation to recommend

[jira] [Commented] (SLING-4212) Sling Models: Allow multiple values from ValueMap in the resource-path injector

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288488#comment-14288488 ] Stefan Seifert commented on SLING-4212: --- a simple solution would be: always try to

Build failed in Jenkins: sling-trunk-1.6 #2967

2015-01-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/sling-trunk-1.6/2967/changes Changes: [sseifert] eliminate deprecation warnings by adding @SuppressWarning annotations [sseifert] SLING-4112 make sure all variants of InjectAnnotationProcessorFactory are displayed in configuration printer [sseifert]

[jira] [Assigned] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-4343: --- Assignee: Carsten Ziegeler Iterator from JcrResourceProvider.queryResources() keeps

[jira] [Updated] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4343: Affects Version/s: i18n 2.2.8 i18n 2.2.10 i18n

[jira] [Updated] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4343: Fix Version/s: i18n 2.3.4 Iterator from JcrResourceProvider.queryResources() keeps

[jira] [Updated] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-4344: --- Description: Currently any modification of a Sling i18n message will not invalidate the

[jira] [Commented] (SLING-4258) JSON representation of Calendar values should preserve timezone

2015-01-22 Thread JIRA
[ https://issues.apache.org/jira/browse/SLING-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288157#comment-14288157 ] santiago garcía pimentel commented on SLING-4258: - [~bdelacretaz] great.

[jira] [Updated] (SLING-4266) SlingContext always uses the default resourceResolverType

2015-01-22 Thread Stefan Seifert (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seifert updated SLING-4266: -- Affects Version/s: (was: Testing ResourceResolver Mock 1.1.0) Testing

[jira] [Commented] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14288202#comment-14288202 ] Carsten Ziegeler commented on SLING-4344: - [~kwin] Patch lgtm Modifying i18n

[jira] [Updated] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4343: Affects Version/s: (was: i18n 2.3.2) (was: i18n 2.2.10)

[jira] [Updated] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-4344: --- Attachment: SLING-4344-v01.patch The attached patch seems to fix the issue. But I did not

[jira] [Created] (SLING-4345) RootResourceProviderEntry iterator causes infinite loop

2015-01-22 Thread Bertrand Delacretaz (JIRA)
Bertrand Delacretaz created SLING-4345: -- Summary: RootResourceProviderEntry iterator causes infinite loop Key: SLING-4345 URL: https://issues.apache.org/jira/browse/SLING-4345 Project: Sling

[jira] [Commented] (SLING-4258) JSON representation of Calendar values should preserve timezone

2015-01-22 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287822#comment-14287822 ] Bertrand Delacretaz commented on SLING-4258: I dug deeper and this new code is

[jira] [Updated] (SLING-4345) RootResourceProviderEntry.queryResources iterator causes infinite loop

2015-01-22 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-4345: --- Summary: RootResourceProviderEntry.queryResources iterator causes infinite loop

[jira] [Updated] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4343: Affects Version/s: JCR Resource 2.3.12 Iterator from JcrResourceProvider.queryResources()

[jira] [Updated] (SLING-4345) RootResourceProviderEntry.queryResources iterator causes infinite loop

2015-01-22 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-4345: --- Description: This causes the FullTextIndexingTest and JsonQueryServletTest

[jira] [Resolved] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-4343. - Resolution: Fixed Fixed in rev 1653969 Iterator from

[jira] [Commented] (SLING-4345) RootResourceProviderEntry.queryResources iterator causes infinite loop

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14287835#comment-14287835 ] Konrad Windszus commented on SLING-4345: Isn't this a duplicate of SLING-4343?

Re: org.apache.sling.urlrewriter installation

2015-01-22 Thread Oliver Lietz
On Thursday 22 January 2015 15:17:37 Antonio Sanso wrote: On Jan 22, 2015, at 3:52 PM, Oliver Lietz apa...@oliverlietz.de wrote: On Thursday 22 January 2015 13:02:05 Antonio Sanso wrote: hi *, hi Antonio, in order to try to solve SLING-3829 [0] I have been tried the approach

[jira] [Updated] (SLING-4343) Iterator from JcrResourceProvider.queryResources() keeps returning same value on next()

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4343: Fix Version/s: (was: i18n 2.3.4) JCR Resource 2.4.4 Iterator from

[jira] [Updated] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-4344: --- Attachment: (was: SLING-4344-v01.patch) Modifying i18n language node in a path outside

[jira] [Updated] (SLING-4344) Modifying i18n language node in a path outside the resource resolver's search path will not invalidate the ResourceBundle cache

2015-01-22 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus updated SLING-4344: --- Attachment: SLING-4344-v02.patch Modifying i18n language node in a path outside the resource

Re: [VOTE] Release Apache Sling JCR Resource 2.4.2

2015-01-22 Thread Carsten Ziegeler
Anyone? Thanks Carsten Am 19.01.15 um 09:33 schrieb Carsten Ziegeler: Hi, we solved some issues https://issues.apache.org/jira/browse/SLING/fixforversion/12328895 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1174/ You can use this UNIX script

[jira] [Updated] (SLING-3947) Allow sling properties per run mode

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-3947: Fix Version/s: (was: Launchpad Base 2.5.6) Launchpad Base 2.5.8

[jira] [Updated] (SLING-1605) Update documentation

2015-01-22 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1605: Fix Version/s: (was: Launchpad Base 2.5.6) Launchpad Base 2.5.8

[VOTE] Release Apache Sling Testing JCR Mock 1.1.2, ResourceResolver Mock 1.1.2, Sling Mock 1.1.2, Sling Mock Jackrabbit 0.1.2

2015-01-22 Thread Stefan Seifert
Hi, We solved 2 issues in JCR Mock 1.1.2: https://issues.apache.org/jira/browse/SLING/fixforversion/12329091 We solved 2 issues in ResourceResolver Mock 1.1.2: https://issues.apache.org/jira/browse/SLING/fixforversion/12329092 We solved 3 issues in Sling Mock 1.1.2:

[VOTE] Release Apache Sling Launchpad Base 4.6.0-2.5.6

2015-01-22 Thread Carsten Ziegeler
Hi, we solved one major deadlock issue https://issues.apache.org/jira/browse/SLING/fixforversion/12329291 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1176/ You can use this UNIX script to download the release and verify the signatures: