Project

General

Profile

Actions

Epic #82703

closed

Introduce doctrine/annotations to replace user defined annotations (mostly in Extbase)

Added by Alexander Schnitzler over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
-
Start date:
2017-10-08
Due date:
% Done:

0%

Estimated time:
Sprint Focus:

Description

Extbase's own annotation functionality is hardly maintained and has various critical issues (e.g. not allowing to import class names). Even Neos' Flow has migrated to doctrine/annotations. This packages' sole purpose is what we do with Extbase and the various ClassSchema / ReflectionService, but with people maintain and improving it.

As nobody stepped up in the past years to overcome issues and take ownership in this area, it is more than appropriate (taken the issues from above into account) to use the library and migrate our custom annotations to doctrine's schema. This also allows to use other frameworks by re-using the same patterns and not mix our custom annotation handling with doctrine's annotations.

In order to move forward, the first step is to integrate doctrine/annotations, and migrate our own annotations to the new structure, deprecating our own.

Once this is done, Extbase's code will be less cluttered, and we can overcome various caching issues as doctrine's caching does not work on a per-plugin basis as `extbase_object` does.


Related issues 23 (0 open23 closed)

Related to TYPO3 Core - Feature #82869: Replace @inject with @Extbase\InjectClosed2017-10-27

Actions
Related to TYPO3 Core - Feature #83078: Replace @lazy with @Extbase\ORM\LazyClosedAlexander Schnitzler2017-11-24

Actions
Related to TYPO3 Core - Feature #83092: Replace @transient with @Extbase\ORM\TransientClosed2017-11-25

Actions
Related to TYPO3 Core - Feature #83093: Replace @cascade with @Extbase\ORM\CascadeClosed2017-11-25

Actions
Related to TYPO3 Core - Feature #83094: Replace @ignorevalidation with @Extbase\IgnoreValidationClosed2017-11-25

Actions
Related to TYPO3 Core - Feature #83167: Replace @validate with @Extbase\ValidateClosedAlexander Schnitzler2017-11-29

Actions
Related to TYPO3 Core - Task #83255: Deprecation notices from ClassSchema.php should contain offending class nameClosed2017-12-07

Actions
Related to TYPO3 Core - Bug #83425: Custom validatorsClosedAlexander Schnitzler2017-12-25

Actions
Related to TYPO3 Core - Task #83520: Use @TYPO3\CMS\Extbase\Annotation\ORM\Lazy in core extensionsClosedAlexander Schnitzler2018-01-09

Actions
Related to TYPO3 Core - Task #83521: Use @TYPO3\CMS\Extbase\Annotation\ORM\Cascade in core extensionsClosedAlexander Schnitzler2018-01-09

Actions
Related to TYPO3 Core - Task #83522: Use @TYPO3\CMS\Extbase\Annotation\Inject in core extensionsClosedAlexander Schnitzler2018-01-09

Actions
Related to TYPO3 Core - Task #85977: Deprecate @cli annotationClosedAlexander Schnitzler2018-08-25

Actions
Related to TYPO3 Core - Task #85980: Deprecate @internal annotation in extbase commandsClosedAlexander Schnitzler2018-08-25

Actions
Related to TYPO3 Core - Task #85981: Deprecate @flushesCaches annotationClosedAlexander Schnitzler2018-08-25

Actions
Related to TYPO3 Core - Task #86898: Drop evaluation of @validate annotationsClosedAlexander Schnitzler2017-11-302017-11-30

Actions
Related to TYPO3 Core - Task #86899: Drop evaluation of @inject annotationsClosedAlexander Schnitzler2017-10-302017-10-30

Actions
Related to TYPO3 Core - Task #86900: Drop evaluation of @lazy annotationsClosedAlexander Schnitzler2017-11-272017-11-27

Actions
Related to TYPO3 Core - Task #86905: Drop evaluation of @transient annotationsClosed2017-11-272017-11-27

Actions
Related to TYPO3 Core - Task #86901: Drop evaluation of @ignorevalidation annotationsClosedAlexander Schnitzler2018-12-242018-12-24

Actions
Related to TYPO3 Core - Task #86902: Drop evaluation of @cli annotationsClosed2018-11-10

Actions
Related to TYPO3 Core - Task #86903: Drop evaluation of @internal annotationsClosed2018-11-10

Actions
Related to TYPO3 Core - Task #86904: Drop evaluation of @flushesCaches annotationsClosed2018-11-10

Actions
Related to TYPO3 Core - Task #86906: Drop evaluation of @cascade annotationsClosedAlexander Schnitzler2017-11-272017-11-27

Actions
Actions

Also available in: Atom PDF