core icon indicating copy to clipboard operation
core copied to clipboard

Shipped DBAL is outdated

Open icewind1991 opened this issue 12 years ago • 16 comments

We currently ship an older version of DBAL, updating this will give us (almost) free bugfixes :)

I'm running into a bug fixed in https://github.com/doctrine/dbal/commit/5e1f0f04ee5270a677325051bfb3d4d74d3fbdff atm

cc @ringmaster @bartv2 @bantu

icewind1991 avatar Dec 11 '13 14:12 icewind1991

CC @DeepDiver1975 as we were talking about upgrading 3rd party libs.

PVince81 avatar Dec 11 '13 14:12 PVince81

Updated DBAL (I am testing 2.4.1) does fix a few MSSQL migration issues, but not all of them, sadly. Anyway, isn't this is a owncloud/3rdparty issue?

ringmaster avatar Dec 11 '13 14:12 ringmaster

Please make sure to read the Doctrine documentation for upgrading between major releases. I am not sure whether we are currently using 2.4.0, I have the feeling it may be 2.3.x.

bantu avatar Dec 11 '13 17:12 bantu

Your current bundled Doctrine-DBAL is 2.3.4.

One of the packagers involved in this set of packages for Fedora would like to bump us to Doctrine 2.4, as a pending Drupal release requires 2.4. I've been 'volunteered' to test if OwnCloud works OK with 2.4, so first I was checking upstream if you have any known incompatibilities, but it looks like this will be virgin territory...

AdamWill avatar Dec 30 '13 19:12 AdamWill

Upstream docs:

http://www.doctrine-project.org/blog/doctrine-2-4-released.html#backwards-incompatible-changes https://github.com/doctrine/dbal/releases/tag/v2.4.0 https://github.com/doctrine/dbal/blob/2.4/UPGRADE

that last one is the specific instructions for upgrading Doctrine-DBAL from 2.3 to 2.4 and only seems to highlight one issue, implying that it may be quite a simple update. I don't know if any of the changes outside of DBAL listed in the first link affects OC.

AdamWill avatar Dec 30 '13 19:12 AdamWill

I've been using dbal master for testing with hhvm lately and haven't run into any problem in particular with it.

icewind1991 avatar Dec 30 '13 23:12 icewind1991

On all 5 dbms we intend to support? 

Von Samsung Mobile gesendet

-------- Ursprüngliche Nachricht -------- Von: icewind1991 [email protected] Datum:
An: owncloud/core [email protected] Cc: Thomas Müller [email protected] Betreff: Re: [core] Shipped DBAL is outdated (#6314)

I've been using dbal master for testing with hhvm lately and haven't run into any problem in particular with it.

— Reply to this email directly or view it on GitHub.

DeepDiver1975 avatar Dec 31 '13 07:12 DeepDiver1975

So I've been firing off communications all over the place today, here's one that's relevant here, from beberlei from upstream DBAL:

"...In general we are currently in the last works of releasing Doctrine DBAL 2.5 beta, which thanks to new contributors, will be our most stable release with currently totaling 150 closed tickets. I am sure OwnCloud would do better migrating their version to 2.5 instead of going to 2.4."

So given the timeframes, it may make sense for upstream OC to skip 2.4 and jump to 2.5...though if the 2.3 vs 2.4 compatibility is as good as the https://github.com/doctrine/dbal/blob/2.4/UPGRADE page indicates, we (downstream Fedora) might still go to 2.4 for now to keep the patches fairly clean (upstream has kindly applied almost all OC's patches to the 2.4 branch now).

AdamWill avatar Dec 31 '13 09:12 AdamWill

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please open a new issue if you still encounter this problem with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Jul 16 '14 15:07 jancborchardt

Please re-open this. It is 'reproducible' and it has not been fixed in a newer version. @DeepDiver1975 told me on IRC yesterday that OC is still stuck on DBAL 2.3 because there are problems with Oracle databases with 2.4, apparently, but it is still desirable to fix those and get up to DBAL 2.4 or 2.5.

AdamWill avatar Jul 16 '14 16:07 AdamWill

yes - we need to keep that one open

DeepDiver1975 avatar Jul 16 '14 16:07 DeepDiver1975

Agree.

bantu avatar Jul 16 '14 17:07 bantu

@AdamWill kk, sorry for closing, was just cleaning up some seemingly outdated issues. Good that we have a status update now.

jancborchardt avatar Jul 17 '14 11:07 jancborchardt

@craigpg @karlitschek @DeepDiver1975 I don't think this is going to happen / is planned for oC7. Reschedule for oC8?

bantu avatar Jul 17 '14 11:07 bantu

@craigpg @karlitschek @DeepDiver1975 I don't think this is going to happen / is planned for oC7. Reschedule for oC8?

indeed - setting oc8 milestone

DeepDiver1975 avatar Jul 17 '14 11:07 DeepDiver1975

Fixed by @DeepDiver1975 with https://github.com/owncloud/core/pull/11689

LukasReschke avatar Oct 30 '14 10:10 LukasReschke