User tests: Successful: Unsuccessful:
Pull Request for Issue # .
When Finder helper trying to add a new content type it ignores already added types.
This leads to duplicated entry error.
Run following code anywhere:
$name = uniqid(); // Imitating a new content type name, can be any string
var_dump(Joomla\Component\Finder\Administrator\Indexer\Helper::addContentType($name, ''));
var_dump(Joomla\Component\Finder\Administrator\Indexer\Helper::addContentType($name, ''));
An error Duplicate entry 'xxxxx' for key 'xxxx.title'
No error, the method return the same ID
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_finder |
Labels |
Added:
bug
PR-4.4-dev
|
Title |
|
I have tested this item ✅ successfully on 7b1dfd4
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-05-20 21:11:43 |
Closed_By | ⇒ | MacJoom |
I have tested this item ✅ successfully on 7b1dfd4
@Fedik, I have successfully tested this in Joomla 4.4.4 (as well as Joomla 5.1.0 as well)
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43053.