Shipped DBAL is outdated
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
CC @DeepDiver1975 as we were talking about upgrading 3rd party libs.
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?
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.
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...
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.
I've been using dbal master for testing with hhvm lately and haven't run into any problem in particular with it.
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.
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).
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!
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.
yes - we need to keep that one open
Agree.
@AdamWill kk, sorry for closing, was just cleaning up some seemingly outdated issues. Good that we have a status update now.
@craigpg @karlitschek @DeepDiver1975 I don't think this is going to happen / is planned for oC7. Reschedule for oC8?
@craigpg @karlitschek @DeepDiver1975 I don't think this is going to happen / is planned for oC7. Reschedule for oC8?
indeed - setting oc8 milestone
Fixed by @DeepDiver1975 with https://github.com/owncloud/core/pull/11689