Skip to content
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

#3443 Content Sync: don't drill down into content tree if recursion is off #3452

Merged

Conversation

YegorKozlov
Copy link
Contributor

fixes #3443

@Override
public List<CatalogItem> getItems(SlingHttpServletRequest request) {
String rootPath = request.getParameter("root");
if (rootPath == null) {
throw new IllegalArgumentException("root request parameter is required");
}
boolean recursive = "true".equals(request.getParameter("recursive"));
boolean nonRecursive = "false".equals(request.getParameter("recursive"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boolean.valueOf(...) to be case insensitive maybe?

@davidjgonzalez davidjgonzalez merged commit 886313d into Adobe-Consulting-Services:master Oct 29, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content Sync without Recurse slow as though it's still analyzing children
3 participants