Bug #100630
closedtypo3/cms-extbase package with doctrine/Instantiator v2 requirement conflicts with jms/serializer
100%
Description
The typo3/cms-extbase extension requires the doctrine/instantiator version 2. The requirement was introduced with the issue #100207 .
In larger projects, the jms/serializer package is used. It is actually not possible to install the T3 CMS v12 with the dependency to the jms/serializer.
- jms/serializer requires doctrine/instantiator v1.3.x
- typo3/cms-extbase requires doctrine/instantiator v2.0
The typo3/cms-extbase extension should require both versions "^1.3.1 || ^2". The version of 1.3.1 supports the php v8.1.
Updated by Joerg Boesche over 1 year ago
- Related to Task #100207: Let DataMapper::createEmptyObject() use doctrine/instantiator added
Updated by Joerg Boesche over 1 year ago
- Related to Task #96208: Remove extbase ObjectManager added
Updated by Christian Kuhn over 1 year ago
May I ask you to create an issue for jms/serializer as well?
It looks as if it should be ok for us to add "^1.3.1 || ^2", but it's of course always better to look forward than back, so jms/serializer should catch up in this regard, i suppose.
Updated by Christian Kuhn over 1 year ago
Ok, rechecked:
- jms/serializer is waiting for doctrine/orm to allow ^2 https://github.com/schmittjoh/serializer/issues/1483
- doctrine/orm allows ^2 in 2.15.x branch, but that has not been released, yet
- Looking through doctrine/instantiator 1.5.0..2.0.0, https://github.com/doctrine/instantiator/compare/1.5.0...2.0.0 , with 1.5.0 being latest 1.x, the changes are type sugar, the php min-raise, and minor cleanups
-> I'll prepare a patch to allow ^1.5 || ^2.0
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78779
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78779
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78779
Updated by Gerrit Code Review over 1 year ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78779
Updated by Joerg Boesche over 1 year ago
Christian Kuhn wrote in #note-4:
Ok, rechecked:
- jms/serializer is waiting for doctrine/orm to allow ^2 https://github.com/schmittjoh/serializer/issues/1483
- doctrine/orm allows ^2 in 2.15.x branch, but that has not been released, yet
- Looking through doctrine/instantiator 1.5.0..2.0.0, https://github.com/doctrine/instantiator/compare/1.5.0...2.0.0 , with 1.5.0 being latest 1.x, the changes are type sugar, the php min-raise, and minor cleanups
-> I'll prepare a patch to allow ^1.5 || ^2.0
Thanks for your reply. I already opened an issue for that. ;-)
https://github.com/schmittjoh/serializer/issues/1483
Updated by Christian Kuhn over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3c54a7f97baa83ec66cc0404a6fa4372e6220a4c.