You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the index with the name mag2_default_catalog_product_20241125_091325 this method will return false instead of a valid DateTime: \Smile\ElasticsuiteIndices\Model\IndexStatusProvider::getIndexUpdatedDateFromIndexName
These are the values that produce this result:
Actual error is thrown here: \Smile\ElasticsuiteIndices\Model\IndexStatusProvider::isRebuilding
The method annotation even expects DateTime|false for the $indexDate parameter but does not handle a false value correctly:
Preconditions
Updated our shop:
PHP 8.2 -> 8.3
Magento 2.4.7-p2 -> 2.4.7-p3
ElasticSuite: 2.11.8.2 -> 2.11.9.2
Now in admin area, a persistent error message is shown where the admin notifications should be:
Magento Version : 2.4.7-p3
ElasticSuite Version : 2.11.9.2
Environment : Production
Third party modules :
Steps to reproduce
Expected result
Actual result
This is the relevant entry from exception.log
For the index with the name
mag2_default_catalog_product_20241125_091325
this method will returnfalse
instead of a valid DateTime:\Smile\ElasticsuiteIndices\Model\IndexStatusProvider::getIndexUpdatedDateFromIndexName
These are the values that produce this result:
Actual error is thrown here: \Smile\ElasticsuiteIndices\Model\IndexStatusProvider::isRebuilding
The method annotation even expects
DateTime|false
for the $indexDate parameter but does not handle afalse
value correctly:Looks like this was introduced in this commit: e208790
The text was updated successfully, but these errors were encountered: