-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The product interface org.apache.jackrabbit.api.security.user.Query annotated with @ProviderType should not be implemented by custom code #671
Comments
I'm seeing the same with version 3.0.9 and AEM Release 2023.9.13420.20230907T185228Z |
It looks like this relatively recent change has added @ProviderType to Query class: https://issues.apache.org/jira/browse/OAK-10252 |
Thanks for the report and the pointers towards https://issues.apache.org/jira/browse/OAK-10252. I consider this a false positive and therefore raised https://issues.apache.org/jira/browse/OAK-10448. Until this is fixed in a newer Oak version please just ignore that issue in your Cloud Manager build. |
I had a quick look at the code and if I'm not mistaken it would be easy to address on accesscontroltool. Those two classes define their own version of Query instead of building it with QueryBuilder. |
|
Indeed. I confused com.day.cq.search.Query and org.apache.jackrabbit.api.security.user.Query @ProviderType annotation doesn't make any sense if correct way to use the Query/QueryBuilder is to define new class according to JavaDoc: https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/api/security/user/Query.html |
@kwin - the same issue reported for ACS Commons was resolved . FYI. |
@thcharan A similar one was reported for ACS AEM Commons but in this case it is really false positive while for ACS AEM Commons it was a correctly classified provider type interface which was implemented (JackrabbitSession). |
We also face the same critical issue in the Cloud Manager pipeline with version 6.0.6 is that getting resolve in next release? |
No, as you can see in comments above this is a bug in Oak and requires a fix there. |
Hi, Thanks |
I think this has been fixed in newer versions of AEMaaCS meanwhile. |
AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM 2023.7.12874.20230726T072051Z
Access Control Tool version: 3.0.8
When I launch a non-production code quality pipeline in Cloud Manager I get the following critical bugs:
The text was updated successfully, but these errors were encountered: