joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.74k stars 3.64k forks source link

[5.1.4] Smart Search index - filter content map #44184

Open chmst opened 5 days ago

chmst commented 5 days ago

Steps to reproduce the issue

Activate filter Content Map in Smart Search Index

Expected result

Open a dropdown

Actual result

Warning: Undefined array key 34 in administrator\components\com_finder\src\Field\ContentmapField.php on line 109

Warning: foreach() argument must be of type array|object, null given in administrator\components\com_finder\src\Field\ContentmapField.php on line 109

Image

System information (as much as possible)

Additional comments

fgsw commented 4 days ago

Cannot confirm using Nightly Build ‎5.2.0-rc2-dev.

Test System Information

Setting Value
PHP Built On Darwin Air.local 23.6.0 Darwin Kernel Version 23.6.0: Wed Jul 31 20:48:44 PDT 2024; root:xnu-10063.141.1.700.5~1/RELEASE_X86_64 x86_64
Database Type mysql
Database Version 8.0.35
Database Collation utf8mb4_unicode_ci
Database Connection Collation utf8mb4_0900_ai_ci
Database Connection Encryption None
Database Server Supports Connection Encryption Yes
PHP Version 8.3.9
Web Server Apache/2.4.58 (Unix) OpenSSL/1.1.1u mod_fastcgi/mod_fastcgi-SNAP-0910052141
WebServer to PHP Interface cgi-fcgi
J Version Joomla! 5.2.0-rc2-dev Development [ Uthabiti ] 1-October-2024 16:01 GMT
J Backward Compatibility Plugin Disabled
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
chmst commented 4 days ago

There is a coincidence with a contact. As soon as a new field is filled, a new "empty array" message is added :

Image