-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete Banners Tracks raises an error [PostgreSQL] #24679
Comments
Or maybe better by |
It's a good question if we have the same mistake elswhere in code. |
|
It seems those 2 are the only ones I can find, too. Question is how could we test the 2nd one? |
And who will make the PR? If you want I can do it. |
Good question: How to to purge all maps from the taxonomy ? |
@twister65 Please test PR #24682 . For the other place I make other PR to be tested by code review, since where clause is not necessary there at all. |
Closed as having Pull Request. |
@twister65 Other PR is #24683 , please test, too, if possible. |
Steps to reproduce the issue
Generate banner tracks with impression and click.
Go to Components -> Banners -> Tracks.
Click the Delete Tracks button.
Expected result
All tracks are deleted.
Actual result
System information (as much as possible)
php: Linux pc-salon 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64
dbserver: postgresql
dbversion: 9.5.6
dbcollation: C
dbconnectioncollation: UTF8
phpversion: 7.2.15-0ubuntu0.18.04.2
server: Apache/2.4.29 (Ubuntu)
sapi_name: apache2handler
version: Joomla! 3.9.5 Stable [ Amani ] 9-April-2019 15:00 GMT
platform: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
useragent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
Additional comments
PostgreSQL does not accept integers for the where clause.
I suggest to replace:
joomla-cms/administrator/components/com_banners/models/tracks.php
Line 231 in 314c3bc
by:
$where = 'true';
The text was updated successfully, but these errors were encountered: