Welcome Guest, Not a member yet? Register   Sign In
DatabaseHandler Broken in 4.1.4
#1

I know there's another post in here about this but I can't seem to ascertain the result.
There is an identified bug in the DatabaseHandler for the session library, and it's based on changes that were addressed here: https://github.com/codeigniter4/CodeIgniter4/pull/4876
However, I see these changes have been merged into a 4.2 repo. Yet it's breaking the current application. Can we expect this to be fixed in a 4.1.5 or some way of hotfixing right now when using Composer? This is something I rely on and seems like a very important core bit of the system that should be working.
Reply
#2

Since youre using Composer, I assume, replace codeigniter4/framework in your require with

codeigniter4/codeigniter4: 4.x-dev

then run composer update
until we can have another release
Reply
#3

(09-10-2021, 06:45 AM)paulbalandan Wrote: Since youre using Composer, I assume, replace codeigniter4/framework in your require with

codeigniter4/codeigniter4: 4.x-dev

then run composer update
until we can have another release

When I try to install codeigniter4/codeigniter4 via Composer, it doesn't show any version numbers. I can't put in what you have above and there doesn't seem to be anything to choose from. Maybe I'm missing something?
Reply
#4

Ok. sorry I've missed a part. Look at how we do this in the translations repo. Look at require-dev. Then add the repositories section to your own composer.json

https://github.com/codeigniter4/translat...poser.json
Reply
#5

(09-10-2021, 07:25 AM)paulbalandan Wrote: Ok. sorry I've missed a part. Look at how we do this in the translations repo. Look at require-dev. Then add the repositories section to your own composer.json

https://github.com/codeigniter4/translat...poser.json

CI4 has a command to do it.

Code:
$ php builds development

The above command updates your composer.json to use CI4 `develop` branch.

And if you want to revert to released version:

Code:
$ php builds release
Reply




Theme © iAndrew 2016 - Forum software by © MyBB