? ? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
30 Nov 2018

Summary of Changes

From J3.9 the type of session_id column is varbinary(192) and it works OK for mysql and PostgreSQL database.

In the case of mssql, this column requires explicitly cast to binary value to work properly.

See https://docs.microsoft.com/en-us/sql/t-sql/data-types/data-type-conversion-database-engine?view=sql-server-2017

Testing Instructions

Test user session, login. logout, action logs, etc.

Probably no one will test it on mssql server, please test it at least on mysql.

Expected result

Joomla works (after installing or updating) on the mssql server.

Actual result

Joomla does not work (after installing or updating) on the mssql server.

Documentation Changes Required

Yes.
A new method $db->quoteBinary($data).

avatar csthomas csthomas - open - 30 Nov 2018
avatar csthomas csthomas - change - 30 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2018
Category Libraries Postgresql MS SQL Front End Plugins
avatar csthomas csthomas - change - 3 Dec 2018
The description was changed
avatar csthomas csthomas - edited - 3 Dec 2018
avatar alikon
alikon - comment - 3 Dec 2018

Probably no one will test it on mssql server, please test it at least on mysql.

🤦‍♂️

on postgresql only 😄

avatar alikon
alikon - comment - 3 Dec 2018

shouldn't be ported on https://github.com/joomla-framework/database too ?

avatar alikon
alikon - comment - 3 Dec 2018

I have tested this item successfully on 958f312


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

avatar alikon alikon - test_item - 3 Dec 2018 - Tested successfully
avatar csthomas
csthomas - comment - 3 Dec 2018

shouldn't be ported on https://github.com/joomla-framework/database too ?

Yes. I will do it, I start here.

avatar csthomas
csthomas - comment - 21 Dec 2018

I'm closing it for now

avatar csthomas csthomas - close - 21 Dec 2018
avatar csthomas csthomas - change - 21 Dec 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-12-21 21:29:35
Closed_By csthomas
Labels Added: ?
avatar SharkyKZ
SharkyKZ - comment - 5 Mar 2019

@csthomas Can you re-open this please?

avatar HLeithner HLeithner - change - 12 Jul 2019
Status Closed New
Closed_Date 2018-12-21 21:29:35
Closed_By csthomas
avatar HLeithner HLeithner - change - 12 Jul 2019
Status New Pending
avatar HLeithner HLeithner - reopen - 12 Jul 2019
avatar HLeithner
HLeithner - comment - 12 Jul 2019

I have tested this item successfully on 958f312

Works on mssql server 2017 (Linux)


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

avatar HLeithner HLeithner - test_item - 12 Jul 2019 - Tested successfully
avatar alikon alikon - change - 15 Jul 2019
Status Pending Ready to Commit
avatar alikon
alikon - comment - 15 Jul 2019

RTC


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

avatar HLeithner
HLeithner - comment - 17 Jul 2019

I see only one test on an unkown database (alikon) and my test on mssql so we need one for mysql and one for pgsql before this is RTC.

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jul 2019
Status Ready to Commit Pending
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jul 2019

Status back on Pending.

avatar alikon
alikon - comment - 17 Jul 2019

my test was on postgresql

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Jul 2019

Status "Ready To Commit" as Test by @alikon was on postgresql.

avatar HLeithner
HLeithner - comment - 20 Jul 2019

So we need at least one on mysql

avatar SharkyKZ
SharkyKZ - comment - 20 Jul 2019

Is MariaDB OK?

avatar HLeithner
HLeithner - comment - 20 Jul 2019

Depends on the version

Am 20. Juli 2019 19:23:45 MESZ schrieb SharkyKZ notifications@github.com:

Is MariaDB OK?

--
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub:
#23213 (comment)

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

avatar SharkyKZ
SharkyKZ - comment - 20 Jul 2019

10.1.40 and 10.3.16.

avatar HLeithner
HLeithner - comment - 26 Jul 2019

A mysql 5.5 test would be great...

avatar HLeithner
HLeithner - comment - 17 Sep 2019

Thanks for adding binary encoding support to Joomla.

avatar HLeithner HLeithner - change - 17 Sep 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-09-17 16:23:58
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 17 Sep 2019
avatar HLeithner HLeithner - merge - 17 Sep 2019

Add a Comment

Login with GitHub to post a comment