User tests: Successful: Unsuccessful:
Pull Request for Issue #46533.
Action Logs - Latest module does not load language for the extension associated with the log item and it could cause the message not being translated. This PR fixes that small issue
The issue only happens with third party extension as described here which unfortunately, not available for testing. So you can just make sure the module is still working as before with this PR applied. Plus, if you know code, you can do review the code change here with the code use in actions log component https://github.com/joomla/joomla-cms/blob/5.4-dev/administrator/components/com_actionlogs/tmpl/actionlogs/default.php#L79-L80
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 | ⇒ | Modules Administration |
@dmb0058 Yes, that's right. But administrator/components/com_actionlogs//tmpl/actionlogs/default.php is for component, the module does not have that similar lines and I believe that's the reason causing the issue. Could you check to see if the change in this PR address your issue?
Ahh I see, sorry. I noticed that administrator/modules/mod_latestactions/tmpl/default.php doesn't have the ActionHelper lines but I was looking at the wrong place for the PR (github_newbie :))
I applied the patch and it works perfectly - thank you 🥇
Great. Could you please go to https://issues.joomla.org/tracker/joomla-cms/46540 and report your test result? We require two successful tests for each PR before it can be merged
I have 42 actions logged throughout my component.
Before applying the patch none of the translated strings appeared in the "Latest Actions" module on the Home Dashboard, instead the message keys were reported.
After applying the patch each of the 42 translated strings are now correctly displayed with the username and action/item inserted.
Is this enough to merge the PR?
I have tested this item ✅ successfully on 8b0ab38
I have 42 actions logged throughout my component.
Before applying the patch none of the translated strings appeared in the "Latest Actions" module on the Home Dashboard, instead the message keys were reported.
After applying the patch each of the 42 translated strings are now correctly displayed with the username and action/item inserted.
I have tested this item ✅ successfully on 8b0ab38
I have 12 actions logged in my second component.
Before applying the patch none of the translated strings appeared in the "Latest Actions" module on the Home Dashboard, instead the message keys were reported.
After applying the patch each of the 12 translated strings are now correctly displayed with the username and action/item inserted.
Is this enough to merge the PR?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46540.
Hello @dmb0058, there will need to be a 2nd test minimum for the maintainers to be able for the PR to be RTC and merged once the maintainers team evaluate/decide to include it in the next/appropriate release.
Thank you for reporting the issue and for the test.
@joomdonation Does this replace PR #44108 by @Ruud68 ? Or is that a different issue?
@richard67 I believe it is the same issue, just different approach. The approach here is already uses in the component, and in the CSV export, so I would use this PR.
Yes, the PR here seems more elegant to me.
Lines 78 and 79 in the PR are the same as the lines in the existing file?
This is the original installation administrator/components/com_actionlogs//tmpl/actionlogs/default.php: