Task #99098
closedReplace instance cache in FormProtectionFactory with runtime cache
100%
Description
FormProtectionFactory is in transition to be fully
injectable, thus removing the old static instance
approach.
One showstopper to move on was the static property
cache for created instances, along with the need
to keep some protected methods static - with usage
in static and instanciated flavour.
Replaceing the static property instance cache with
the core runtime cache that knot would be solveable.
With that replacement, it would also be easier in
tests, and enforced clearing can be done by flushing
the runtime cache. Additionally, static `get()` and
`purgeInstances()` could be removed, and all of the
other static methods transformed into non-static variants.
Updated by Stefan Bürk almost 2 years ago
- Related to Task #98696: Make FormProtectionFactory injectable - part 2 added
- Related to Task #98627: Make FormProtectionFactory injectable added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
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/+/76634
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 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/+/76634
Updated by Gerrit Code Review almost 2 years ago
Patch set 6 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/+/76634
Updated by Gerrit Code Review almost 2 years ago
Patch set 7 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/+/76634
Updated by Stefan Bürk almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 75732ef99b28bae600f259ab32f12aeef02c82a8.
Updated by Christian Kuhn over 1 year ago
- Related to Task #101013: Remove deprecated methods in FormProtectionFactory added