-
Notifications
You must be signed in to change notification settings - Fork 34
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
EZP-31127: Skipped non-existing Content Types in ContentTypeIdentifier criterion #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, but cross dependency here, so might need to merge both as failing once QA verifies it will pass once both have been merged.
Will you add warning logging here as well like kernel? |
@andrerom Done. |
Co-Authored-By: André R. <andre.romcke@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following query
//use eZ\Publish\API\Repository\Values\Content\Query;
// @var \eZ\Publish\API\Repository\SearchService $searchService
$query = new Query();
$query->query = new Query\Criterion\ContentTypeIdentifier(
['folder']
);
$results = $searchService->findContent($query);
stops working with the changes from this PR - 0 results (without it returns e.g. eZ Platform folder on clean install).
Tested on eZ Platform EE 2.5 with Solr 6.6.5.
@micszo I'll look into it. |
@micszo I've pushed the fix. Please test again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with ezsystems/ezpublish-kernel#2872.
The previous issue with Solr is resolved. 👍
@alongosz could you merge it up? |
Variant of ezsystems/ezpublish-kernel#2872 PR for Solr