User tests: Successful: 0 Unsuccessful: 0
use prepared statement for SQL
test com_actionlogs
work as before
N/A
Status | New | ⇒ | Pending |
Category | ⇒ | Administration |
I have not tested this item.
Will test later again after code review changes.
Labels |
Added:
?
|
@alikon I get a PHP notice as follows when testing your PR now:
[Mon Jul 22 19:02:51.665201 2019] [php7:notice] [pid 933] [client 192.168.98.1:50765] PHP Notice: Undefined property: stdClass::$name in /home/richard/lamp/public_html/joomla-cms-4.0-dev/administrator/components/com_actionlogs/Helper/ActionlogsHelper.php on line 66, referer: https://www.joomla-40-dev.vmnet2.local/administrator/index.php?option=com_actionlogs&view=actionlogs
I will update my 4.0-dev branch to latest changes and set up my testing environment from scratch and test again.
Sorry folks for all the issues my pr's raise, I will learn a more user
friendly way to make pr's to lower my shit and reduce the community
efforts, but thanks for your efforts to help
Il lun 22 lug 2019, 19:06 Richard Fath notifications@github.com ha
scritto:
@alikon https://github.com/alikon I get a PHP notice as follows when
testing your PR now:[Mon Jul 22 19:02:51.665201 2019] [php7:notice] [pid 933] [client
192.168.98.1:50765] PHP Notice: Undefined property: stdClass::$name in
/home/richard/lamp/public_html/joomla-cms-4.0-dev/administrator/components/com_actionlogs/Helper/ActionlogsHelper.php
on line 66, referer:
https://www.joomla-40-dev.vmnet2.local/administrator/index.php?option=com_actionlogs&view=actionlogsI will update my 4.0-dev branch to latest changes and set up my testing
environment from scratch and test again.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joomla/joomla-cms/pull/25671?email_source=notifications&email_token=AABMLMKNHZVFFAXAX4XVVZTQAXSJZA5CNFSM4IFQ7H6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QQSNA#issuecomment-513870132,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABMLMPTIK3E53NLSWS36W3QAXSJZANCNFSM4IFQ7H6A
.
Just don't code in trains ... especially not in Italian ones
I have tested this item
When doing CSV export of all action log entries, I get a PHP warning as follows:
PHP Notice: Undefined property: stdClass::$name in /home/richard/lamp/public_html/joomla-cms-4.0-dev/administrator/components/com_actionlogs/Helper/ActionlogsHelper.php on line 66, referer: https://www.joomla-40-dev.vmnet2.local/administrator/index.php?option=com_actionlogs&view=actionlogs
Without this PR I don't get that.
From reading code I did not find the reason for that yet. Will continue to try to find it, but maybe someone else is faster.
@richard67 there is nothing to be prepared there
(i.e. there are no variables to be binded)Sorry, check line 111 3 lines below the one l’ve linked.
if you mean this ->leftJoin('#__users AS u ON a.user_id = u.id');
previuos answer is still valid, maybe you can argue that should be ->join('LEFT
' and quoteName
'd
I think he mean
->select('a.*, u.name')
->from('#__action_logs AS a')
->leftJoin('#__users AS u ON a.user_id = u.id');
// Get ordering
$fullorderCol = $this->state->get('list.fullordering', 'a.id DESC');
to
->select('a.*,' . $db->quoteName('u.name'))
->from($db->quoteName('#__action_logs', 'a'))
->leftJoin($db->quoteName('#__users', 'u'), $db->quoteName('a.user_id') .' = ' . $db->quoteName('u.id'));
// Get ordering
$fullorderCol = $this->state->get('list.fullordering', $db->quoteName('a.id') . ' DESC');
@richard67 can you confirm that #25671 (comment) has been fixed by my last commit...... if so i'll update your last cs comment accordindlngly
buon appetito
this one #25671 (comment)
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
pleas wait 1 sec
Labels |
Added:
?
|
please a quick retest when you can, updated with the last discover
I have tested this item
I have tested this item
I have tested this item
RTC
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-24 12:38:22 |
Closed_By | ⇒ | wilsonge |
Thanks!
I have tested this item✅ successfully on ff662ca
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25671.