Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi,

If I install 1.2.1 composer will get version 2.0 for Doctrine Cache , which is not compatible with t3api,
Since the class SerializerService uses Deprecated Class

https://github.com/doctrine/cache/blob/1.11.x/lib/Doctrine/Common/Cache/FilesystemCache.php

It work with version 1.11., but not with ^2

it used in CachedReader
/**

  • A cache aware annotation reader.
  • @deprecated the CachedReader is deprecated and will be removed
  •         in version 2.0.0 of doctrine/annotations. Please use the
    
  •         {@see \Doctrine\Common\Annotations\PsrCachedReader} instead.
    

*/

You must be logged in to vote

it's work with: require "doctrine/cache": "1.11.3"

Replies: 1 comment · 1 reply

Comment options

Hi @bandrachnik .

Thank you for reporting this issue. I didn't have time yet to reproduce your issue but as I see it occurs on TYPO3 >= v10.4.16. The point is that since v10.4.16 TYPO3 allows to use doctrine/dbal >= 2.13.1 and doctrine/dbal >= 2.13.2 allows to use doctrine/cache >= 2.0.

Temporary solution I could suggest for you - please try to add doctrine/cache: ^1.0 as your requirement in your project root composer.json. As I see it should not bring any conflicts in composer. Another solution, which would surely work but is not perfect is to downgrade TYPO3 to 10.4.15.

We will implement solution in t3api core as soon as possible.

If you would try suggested solution or implement another one please let us know if worked. Thanks in advance.

You must be logged in to vote
1 reply
@bandrachnik
Comment options

it's work with: require "doctrine/cache": "1.11.3"

Answer selected by kszymukowicz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.