No Code Attached Yet
avatar dmb0058
dmb0058
4 Dec 2025

I'm trying to inject some custom action log entries using a custom library function and everything looks good, for example this is a record written to the actionlogs table:

id: 23412
message_language_key: LIB_CONLUCRA_CHAT_ACTIONLOG_FOLDER_UPDATED
message: {"accountlink":"<a href=\"index.php?option=com_users&amp;task=user.edit&amp;id=500\">Super User<\/a>","type":"LIB_CONLUCRA_CHAT_ACTIONLOG_TYPE_FOLDER","id":"4337","title":"Duplicate personas folder","itemlink":"<a href=\"index.php?option=com_conlucra_chat&amp;task=folder.edit&amp;id=4337\">Duplicate personas folder<\/a>","action":"folder.update","app":"admin"}
log_date: 2025-12-02 15:52:10
extension: lib_conlucra_chat
user_id: 500
item_id: 4337
ip_address: COM_ACTIONLOGS_DISABLED

The translation strings are not being picked up when I look at the Home Dashboard because the language files are not being picked up so they're defaulting to the strings (see screenshot if it uploaded, I don't think this works).

The module does not appear to consider the extension property (might use extension_name property added in message JSON?) Secondly, the language files is loaded after the message is translated so the translation is still missing.

Things I checked:
The library is in libraries/lib_conlucra_chat/src and the file with the function is libraries/lib_conlucra_chat/src/ActionLogger.php.

I checked that the constants are in the language file, e.g.
lib_conlucra_chat.ini:

LIB_CONLUCRA_CHAT_ACTIONLOG_FOLDER_UPDATED="User {accountlink} updated {type} {itemlink}"

I tried putting the language files in:
administrator/language/en-GB/en-GB.lib_conlucra_chat.ini
administrator/language/en-GB/en-GB.lib_conlucra_chat.sys.ini

then
administrator/language/en-GB/lib_conlucra_chat.ini
administrator/language/en-GB/lib_conlucra_chat.sys.ini

then
language/en-GB/en-GB.lib_conlucra_chat.ini
language/en-GB/en-GB.lib_conlucra_chat.sys.ini

and finally
language/en-GB/lib_conlucra_chat.ini
language/en-GB/lib_conlucra_chat.sys.ini

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar dmb0058 dmb0058 - open - 4 Dec 2025
avatar dmb0058 dmb0058 - change - 4 Dec 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Dec 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Dec 2025
avatar dmb0058 dmb0058 - change - 4 Dec 2025
The description was changed
avatar dmb0058 dmb0058 - edited - 4 Dec 2025
avatar joomdonation joomdonation - change - 6 Dec 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-12-06 11:02:11
Closed_By joomdonation
avatar joomdonation joomdonation - close - 6 Dec 2025
avatar joomdonation
joomdonation - comment - 6 Dec 2025

@dmb0058 PR #46540 should address this issue. Could you please help testing and report the result back? Thanks !

Add a Comment

Login with GitHub to post a comment