Re: [PR] SLING-12310 Fix test compatibility with java 17 [sling-org-apache-sling-i18n]

2024-04-30 Thread via GitHub


sonarcloud[bot] commented on PR #12:
URL: 
https://github.com/apache/sling-org-apache-sling-i18n/pull/12#issuecomment-2087367608

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-i18n=12)
 **Quality Gate passed**  
   Issues  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-i18n=12=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png
 '') [0 Accepted 
issues](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-i18n=12=new_accepted_issues=list)
   
   Measures  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-i18n=12=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png
 '') No data about Coverage  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-i18n=12=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-i18n=12)
   
   


-- 
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-unsubscr...@sling.apache.org

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



[PR] SLING-12310 Fix test compatibility with java 17 [sling-org-apache-sling-i18n]

2024-04-30 Thread via GitHub


enapps-enorman opened a new pull request, #12:
URL: https://github.com/apache/sling-org-apache-sling-i18n/pull/12

   Some of the tests are failing when building with java 17.  
   
   - bump oak/jackrabbit dependencies to the oldest still supported and 
compatible version
   - replace powermock usage with mockito
   - replace dependency on org.apache.sling.commons.testing with sling mocks 
equivalent
   - update various dependency versions to compatible versions


-- 
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-unsubscr...@sling.apache.org

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



[jira] [Created] (SLING-12310) Fix test compatibility with java 17

2024-04-30 Thread Eric Norman (Jira)
Eric Norman created SLING-12310:
---

 Summary: Fix test compatibility with java 17
 Key: SLING-12310
 URL: https://issues.apache.org/jira/browse/SLING-12310
 Project: Sling
  Issue Type: Improvement
Reporter: Eric Norman
Assignee: Eric Norman
 Fix For: i18n 2.6.4


Some of the tests are failing when building with java 17.  
 * bump oak/jackrabbit dependencies to the oldest still supported and 
compatible version
 * replace powermock usage with mockito
 * replace dependency on org.apache.sling.commons.testing with sling mocks 
equivalent
 * update various dependency versions to compatible versions

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[VOTE] Release Apache Sling Hypermedia API client-side tools 1.0.2

2024-04-30 Thread Andrei Dulvac
We solved 1 issues in this release:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20SLING%20AND%20fixVersion%20%3D%20%22HApi%20Client%201.0.2%22


Staging repository:
https://repository.apache.org/content/repositories/orgapachesling-2858/

You can use this UNIX script to download the release and verify the
signatures:
https://raw.githubusercontent.com/apache/sling-tooling-release/master/check_staged_release.sh

Usage:
sh check_staged_release.sh 2858 /tmp/sling-staging

Please vote to approve this release:

  [ ] +1 Approve the release
  [ ]  0 Don't care
  [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

- Andrei


Re: [VOTE] Release Apache Sling Rewriter 1.4.4

2024-04-30 Thread Andrei Dulvac
+1


On Tue, Apr 30, 2024 at 12:26 PM Robert Munteanu  wrote:

> On Tue, 2024-04-30 at 11:27 +0200, Carsten Ziegeler wrote:
> > Please vote to approve this release:
>
> +1
> Robert
>


[jira] [Created] (SLING-12309) Upgrade dependencies (remove security vulnerabilities)

2024-04-30 Thread Andrei Dulvac (Jira)
Andrei Dulvac created SLING-12309:
-

 Summary: Upgrade dependencies (remove security vulnerabilities)
 Key: SLING-12309
 URL: https://issues.apache.org/jira/browse/SLING-12309
 Project: Sling
  Issue Type: Improvement
  Components: HApi Client
Affects Versions: HApi Client 1.0.0
Reporter: Andrei Dulvac
Assignee: Andrei Dulvac
 Fix For: HApi Client 1.0.2


Update all maven deps with known vulnerabilities



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [VOTE] Release Apache Sling Rewriter 1.4.4

2024-04-30 Thread Robert Munteanu
On Tue, 2024-04-30 at 11:27 +0200, Carsten Ziegeler wrote:
> Please vote to approve this release:

+1
Robert


signature.asc
Description: This is a digitally signed message part


[VOTE] Release Apache Sling Rewriter 1.4.4

2024-04-30 Thread Carsten Ziegeler

Hi,

We solved 1 issues in this release
https://issues.apache.org/jira/browse/SLING-12308


Staging repository: 
https://repository.apache.org/content/repositories/orgapachesling-2857/


You can use this UNIX script to download the release and verify the 
signatures:

https://gitbox.apache.org/repos/asf?p=sling-tooling-release.git;a=blob;f=check_staged_release.sh;hb=HEAD

Usage:
sh check_staged_release.sh 2857 /tmp/sling-staging

Please vote to approve this release:

  [ ] +1 Approve the release
  [ ]  0 Don't care
  [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

Regards
Carsten
--
Carsten Ziegeler
Adobe
cziege...@apache.org


Re: [PR] Bump jsoup from 1.12.1 to 1.15.3 [sling-org-apache-sling-rewriter]

2024-04-30 Thread via GitHub


cziegeler merged PR #8:
URL: https://github.com/apache/sling-org-apache-sling-rewriter/pull/8


-- 
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-unsubscr...@sling.apache.org

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



[jira] [Resolved] (SLING-12308) Potential ArrayIndexOutOfBoundsException with global transformers

2024-04-30 Thread Carsten Ziegeler (Jira)


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

Carsten Ziegeler resolved SLING-12308.
--
Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-rewriter/commit/26976e1b370ef2734428dc80ba3ae2fec3f0351b
Added test case

> Potential ArrayIndexOutOfBoundsException with global transformers
> -
>
> Key: SLING-12308
> URL: https://issues.apache.org/jira/browse/SLING-12308
> Project: Sling
>  Issue Type: Bug
>  Components: General
>Affects Versions: Rewriter 1.4.2
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Rewriter 1.4.4
>
>
> When several global transformers are configured but one of them does not 
> match the current request, an ArrayIndexOutOfBoundsException might be thrown 
> as the code assumes all transformers match.
> This only happens if there is a matching transformer *after* one that does 
> not match. If it is the other way round, the code works.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)