Closed fedys closed 7 years ago
So ... tell us what exactly are these BC breaks in particular. :smile:
Core\Entity\ModificationDateAwareEntityTrait::setDateCreated(DateTime $dateCreated = null)
ODM 1.1 passes Doctrine\ODM\MongoDB\Event\LifecycleEventArgs
instance while ODM 1.0 passes nothingThere may exist other BC breaks as well. I have not tested it thoroughly yet.
I'll recheck, if we can upgrade.
We can upgrade. All productive yawik instances we know are currently running php5.6 or can be upgraded.
When upgrading my local instance from php5.5 to php5.6 I'got the exception
2016-11-10 10:56:43 EXCEPTION mongo2:27017: exception: Index with name: permissions_view_1 already exists with different options in /home/cbleek/Projects/YAWIK/vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Collection.php on line 312
I got my YAWIK running again by deleting all mongo indizes, However.
We can point out this issue in the Release notes.
So let's upgrade.
Great news! Do you want me to carry out the upgrade? I will go over the ODM 1.1 changelog and note the possible BC breaks. Then I will try to detect them in YAWIK (some of them are already detected) and fix them.
Great news! Do you want me to carry out the upgrade?
Yes.
How do you rate the time? Can we'll make it in a couple of weeks, or will it be finished next year.
I assume there are minor BC breaks only. Estimated time is within a week. I will know more details after an initial research.
It would be great to upgrade Doctrine ODM to 1.1.x. Unfortunately, there are several BC breaks.