? ? Pending
Pull Request for # 28378

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
17 Mar 2020

Pull Request for Issue #28378.

Summary of Changes

Fixes error in query.

Testing Instructions

Publish Tags - Popular module.

Expected result

Works.

Actual result

Notice: Array to string conversion in modules\mod_tags_popular\src\Helper\TagsPopularHelper.php on line 100
Error: Unknown column 'Array' in 'where clause': Unknown column 'Array' in 'where clause'

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 17 Mar 2020
avatar SharkyKZ SharkyKZ - change - 17 Mar 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2020
Category Modules Front End
avatar SharkyKZ SharkyKZ - change - 17 Mar 2020
Rel_Number 28378
Relation Type Pull Request for
Labels Added: ?
avatar infograf768
infograf768 - comment - 17 Mar 2020

Please also correct in 3.10

avatar infograf768
infograf768 - comment - 17 Mar 2020

I have tested this item successfully on 827411a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28379.

avatar infograf768 infograf768 - test_item - 17 Mar 2020 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 17 Mar 2020

Please also correct in 3.10

Are you having this issue on 3.10? Looks fine on code review.

ddd30a7 17 Mar 2020 avatar SharkyKZ CS
avatar infograf768
infograf768 - comment - 17 Mar 2020

In 3.10, the difference is that we have
$groups = implode(',', $user->getAuthorisedViewLevels());

no bindArray

Is that OK?

(I do not have a test site in 3.10 right now.)

avatar SharkyKZ
SharkyKZ - comment - 17 Mar 2020

That's fine. In 4.0 we're using parameterized queries. That's where the difference came from.

avatar wilsonge
wilsonge - comment - 17 Mar 2020

Yup this is fine - only needed in 4.0

avatar infograf768
infograf768 - comment - 17 Mar 2020

can be merged. No use for another test (cs only)

avatar infograf768
infograf768 - comment - 17 Mar 2020

I have tested this item successfully on ddd30a7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28379.

avatar infograf768 infograf768 - test_item - 17 Mar 2020 - Tested successfully
avatar alikon
alikon - comment - 17 Mar 2020

I have tested this item successfully on ddd30a7

i've got the error before applying the pr even without tags
after pr no more errors with and without tags


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28379.

avatar alikon alikon - test_item - 17 Mar 2020 - Tested successfully
avatar alikon alikon - change - 17 Mar 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 17 Mar 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28379.

avatar infograf768 infograf768 - change - 17 Mar 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-03-17 10:12:17
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 17 Mar 2020
avatar infograf768 infograf768 - merge - 17 Mar 2020
avatar infograf768
infograf768 - comment - 17 Mar 2020

tks

Add a Comment

Login with GitHub to post a comment