User tests: Successful: Unsuccessful:
Pull Request for Issue #43511 .
When you have a custom field set to be indexed in Smart Search and run that indexing process in the CLI, it will fail because the CLI process doesn't have a user object. The failure happens in the HTMLHelper::date() method and this PR simply checks if there is a user object to get the timezone from.
php cli/joomla.php finder:index
on the command lineFatal error in HTMLHelper::date()
Indexing works as expected.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item ✅ successfully on b031b01
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
PR-5.1-dev
|
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-05-26 21:56:20 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
RTC
|
Thx
I have tested this item ✅ successfully on b031b01
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43521.