No Code Attached Yet J3 Issue
avatar an0ther1
an0ther1
9 Nov 2017

Steps to reproduce the issue

The requirements page https://downloads.joomla.org/technical-requirements identifies MSSQL Version 10.50.1600.1 (MSSQL 2008 R2)
When attempting to login to the Administration page using Joomla 3.8.2 & MS SQL 2008 R2 users will receive a message that CONCAT is not a recognised function etc
CONCAT is included in MS SQL should be 11.0 (MS SQL 2012) and later

Expected result

CONCAT function not used

Actual result

Message post Administrator area login: CONCAT is not a recognised function

System information (as much as possible)

Joomla 3.8.2 - New installation
MS SQL 2008R2 (Version: 10.50.6220)
IIS 7.5

Additional comments

avatar an0ther1 an0ther1 - open - 9 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Nov 2017
avatar csthomas
csthomas - comment - 9 Nov 2017

I found two issues.

https://docs.microsoft.com/en-us/sql/t-sql/functions/concat-ws-transact-sql

Supported from SQLSRV 2017:

components/com_contact/models/category.php:149:          *      . ' CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(\':\', a.id, a.alias) ELSE a.id END as slug, '                                                                                                                                                          
components/com_contact/models/category.php:150:          *      . ' CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(\':\', c.id, c.alias) ELSE c.id END AS catslug ');

Supported from SQLSRV 2012:

administrator/components/com_menus/presets/modern.xml:209:                      sql_select="a.title, a.menutype, CASE COALESCE(SUM(m.home), 0) WHEN 0 THEN '' WHEN 1 THEN CASE m.language WHEN '*' THEN 'class:icon-home' ELSE CONCAT('image:mod_languages/', l.image, '.gif') END ELSE 'image:mod_languages/icon-16-language.png' END AS icon"
administrator/components/com_menus/presets/joomla.xml:209:                      sql_select="a.title, a.menutype, CASE COALESCE(SUM(m.home), 0) WHEN 0 THEN '' WHEN 1 THEN CASE m.language WHEN '*' THEN 'class:icon-home' ELSE CONCAT('image:mod_languages/', l.image, '.gif') END ELSE 'image:mod_languages/icon-16-language.png' END AS icon"

but I do not have idea how to fix queries in above xml files.

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Nov 2017
Status New Discussion
avatar Mohamed-Retsol
Mohamed-Retsol - comment - 30 Nov 2017

Thanks for pinpointing those lines @csthomas

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar jwaisner
jwaisner - comment - 11 Mar 2020

@an0ther1 Is this still an issue in the latest J3?

avatar jwaisner jwaisner - change - 11 Mar 2020
Status Discussion Information Required
avatar brianteeman
brianteeman - comment - 11 Mar 2020

Yes

avatar jwaisner jwaisner - change - 11 Mar 2020
Status Information Required Confirmed
avatar brianteeman
brianteeman - comment - 23 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar zero-24 zero-24 - change - 23 Aug 2022
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2022-08-23 13:47:43
Closed_By zero-24
Labels Added: No Code Attached Yet
Removed: ?
avatar zero-24 zero-24 - close - 23 Aug 2022

Add a Comment

Login with GitHub to post a comment