Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
4.6.7
-
None
-
None
-
SOLR
-
Yes
Description
Due to duplicate IDCs, using CountryTermAggregation will result in incorrect country information being retrieved
Tested on SOLR
Steps to reproduce
- Create a CT with country field
- Create content and set USA as country
- Use CountryTermAggregation to get country codes
- Check result from query
Result
For the USA, the CAN key is returned
Ibexa\Contracts\Core\Repository\Values\Content\Search\AggregationResult\TermAggregationResultEntry: {
-key: "CAN"
-count: 1
}
Expected
key/country code should be returned correctly
Note
Due to multiple IDC iterations, this problem will not be exclusive to the US