-
Notifications
You must be signed in to change notification settings - Fork 607
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
WCM Inbox Felix Console Plugin throws Traversal error #1635
Comments
@justinedelson this appears to be a feature to support the clearing of Inbox tasks for ClassicUI - and i believe Inbox Tassk are now stored under /var/taskmanagement (or their respective projects folders) and not the rep:User. Should we remove this feature for 4.0.0 (since it doesnt work)? WDYT? |
Classic UI is a dinosaur. Kill it. |
I'm fine removing this, but my preference would be to leave the plugin in place for 4.0.0 and just output something like "This web console plugin has been removed for performance reasons" when you navigate to it. That way there aren't questions about where it went (in case anyone is using it). See #1643 |
Hi Team, We are looking for this fix in our code also as we are seeing lot of errors related to this query warning. Can you please let us know when ACS commons new version (3.19.1 ?) will be released with this fix ? |
Hi Justin, I just want to be more appropriate on the topic. Yes, I have same warning message in my server which says as below:- 18.06.2019 23:53:05.942 WARN [Thread-414] org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 2000 nodes with filter Filter(query=select e.[jcr:path] as [jcr:path], e.[jcr:score] as [jcr:score], e.* from [nt:base] as a inner join [nt:base] as b on ischildnode(b, a) inner join [nt:base] as c on ischildnode(c, b) inner join [nt:base] as d on ischildnode(d, c) inner join [nt:base] as e on ischildnode(e, d) where name(a) = 'wcm' and isdescendantnode(a, '/home') and name(b) = 'notification' and name(c) = 'config' and name(d) = 'subscriptions' and e.[type] = 'page' option(traversal OK) /* xpath: /jcr:root/home//wcm/notification/config/subscriptions/* [@type='page'] option(traversal ok) /, path=/home//, property=[:localname=[wcm]]); consider creating an index or changing the query The version of ACS Common package I'm using in my instance is 3.8.4. So, it will resolve the issue if I use higher of it? Rakesh |
Rakesh - this is fixed (Ie the plugin is effectively removed) in v4.0.0 of acs commons. You should upgrade to 4.x if possible. |
Hi @davidjgonzalez, Thanks a lot for the response. So, now I'm planning to push the 4.x.x package in instance but the only worry is to understand the dependency of this package. It would be great if you can share some info regarding this. Rakesh |
Hi @davidjgonzalez, Thanks for the link much needful. Rakesh |
We have had the same error in AEM 6.5.1, ACS AEM 4.1 But WCM Inbox is deactivated.
Is there any other option where we can find this Traversal Error? |
We upgraded to ACS version to 4.2.0 and are on AEM 6.4.4 and are still getting the WARN and after a certain amount of nodes an ERROR. WCM Inbox is deactivated also. WARN [Thread-115] org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 1000 nodes with filter Filter(query=select e.[jcr:path] as [jcr:path], e.[jcr:score] as [jcr:score], e.* from [nt:base] as a inner join [nt:base] as b on ischildnode(b, a) inner join [nt:base] as c on ischildnode(c, b) inner join [nt:base] as d on ischildnode(d, c) inner join [nt:base] as e on ischildnode(e, d) where name(a) = 'wcm' and isdescendantnode(a, '/home') and name(b) = 'notification' and name(c) = 'config' and name(d) = 'subscriptions' and e.[type] = 'page' option(traversal OK) /* xpath: /jcr:root/home//wcm/notification/config/subscriptions/* [@type='page'] option(traversal ok) /, path=/home//, property=[:localname=[wcm]]); consider creating an index or changing the query |
Hi All, Based on earlier updates, we spent effort in upgrading to latest ACS versions, but still no luck with resolving issue. @justinedelson Can this be fixed? Can we get some updates at least? @ALL, Any other suggestions that can be done to get rid of this error. 13.01.2020 12:21:29.559 WARN [Thread-1618] org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed 7000 nodes with filter Filter(query=select e.[jcr:path] as [jcr:path], e.[jcr:score] as [jcr:score], e.* from [nt:base] as a inner join [nt:base] as b on ischildnode(b, a) inner join [nt:base] as c on ischildnode(c, b) inner join [nt:base] as d on ischildnode(d, c) inner join [nt:base] as e on ischildnode(e, d) where name(a) = 'wcm' and isdescendantnode(a, '/home') and name(b) = 'notification' and name(c) = 'config' and name(d) = 'subscriptions' and e.[type] = 'page' option(traversal OK) /* xpath: /jcr:root/home//wcm/notification/config/subscriptions/* [@type='page'] option(traversal ok) /, path=/home//, property=[:localname=[wcm]]); consider creating an index or changing the query |
Hi Akash,
Do you use classic UI?
Rakesh
…On Tue, 14 Jan, 2020, 02:01 akashramchandani, ***@***.***> wrote:
Hi All,
Based on earlier updates, we spent effort in upgrading to latest ACS
versions, but still no luck with resolving issue.
@justinedelson <https://github.com/justinedelson> Can this be fixed? Can
we get some updates at least?
@ALL <https://github.com/ALL>, Any other suggestions that can be done to
get rid of this error.
13.01.2020 12:21:29.559 *WARN* [Thread-1618]
org.apache.jackrabbit.oak.plugins.index.Cursors$TraversingCursor Traversed
7000 nodes with filter Filter(query=select e.[jcr:path] as [jcr:path],
e.[jcr:score] as [jcr:score], e.* from [nt:base] as a inner join [nt:base]
as b on ischildnode(b, a) inner join [nt:base] as c on ischildnode(c, b)
inner join [nt:base] as d on ischildnode(d, c) inner join [nt:base] as e on
ischildnode(e, d) where name(a) = 'wcm' and isdescendantnode(a, '/home')
and name(b) = 'notification' and name(c) = 'config' and name(d) =
'subscriptions' and e.[type] = 'page' option(traversal OK) /* xpath:
/jcr:root/home//wcm/notification/config/subscriptions/* ***@***.***
<https://github.com/type>='page'] option(traversal ok) */, path=/home//*,
property=[:localname=[wcm]]); consider creating an index or changing the
query
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1635?email_source=notifications&email_token=AMSXL77VQSJV2C3JCRIS373Q5TFT5A5CNFSM4GLLOKV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2FVNY#issuecomment-573856439>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMSXL73JLVSGJSXYNPFD6FDQ5TFT5ANCNFSM4GLLOKVQ>
.
|
We don't use classic UI. Rarely for something important, we use classic UI. Suggestion, can't we create index here that can improve performance and avoid this issue? |
We spoke with Adobe directly. Workaround is |
Hello @palbiez, We also have ACS Commons 4.0.0 but still, see this error in our logs. Thanks |
Hi Ruchi,.
Just wanted to know in your application do you use any classic ui
components??
Rakesh
…On Mon, 18 May, 2020, 11:29 ruchimishra, ***@***.***> wrote:
Hello @palbiez <https://github.com/palbiez>,
We also have ACS Commons 4.0.0 but still, see this error in our logs.
You have mentioned that the workaround was provided by Adobe. Just wanted
to understand if this has been logged in somewhere so that we can also
check with our AMS team to make sure we implement the same. Not sure what
function this component serves.
Thanks
Ruchi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1635 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMSXL72BLI7HM53TCVCOH7LRSDFFBANCNFSM4GLLOKVQ>
.
|
@ruchimishra Stop the component in /system/console/components ->notification: com.day.cq.wcm.notification.impl.NotificationManagerImpl and to keep it stopped by using ACS-commons component disabler |
@trakeshkumar34, @palbiez, Thanks a lot for the help and input. |
Just to be clear, it appears that most of the comments in this thread do not relate to ACS AEM Commons. The query used by the WCM Inbox web console plugin (which was removed in 4.0.0) were
And
The queries in the last handful of comments here are:
It is not fruitful to continue to use this issue for queries which are not related to the component in question (nor queries which, AFAIK, are generated by this project at all). |
Required Information
Expected Behavior
WCM Inbox should list the inbox paths available for purging.
Actual Behavior
WCM Inbox throws a traversal error and fails to query the inbox paths to purge.
Steps to Reproduce
Invoke the ACS Commons WCM Inbox Web Console plugin (ensure you have enough nodes under /home to trigger the traversal) or Explain Query the query used [1] and see that it is a traversal.
[1] https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/wcm/impl/WCMInboxWebConsolePlugin.java#L81
Thanks to Sammit P. for identifying
The text was updated successfully, but these errors were encountered: