I have used tagshelper to bind a tag function to a custom component. When I try to use "createTagsFromField()" to create a new tag in my component, the creation of the tag fails and returns 0.
i give the function array as parameter ["1", "2", "new"]
and get [1, 2, 0]
The new tag is recognised by the "new" at the beginning and is created in __tags and its ID is added to $newTags[] and returned.
It does not recognise that it is a new tag, so no tag is created and the name in $newTags[] is overwritten with 0.
PHP 8.2 and the latest version of joomla 4. Tested it locally and via FTP, both the same.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-06 12:34:35 |
Closed_By | ⇒ | Joao-hey |
Tested it out on a other machine and found the issue