Actions
Bug #64971
closedStatic access to enumeration constants requires instance once
Status:
Closed
Priority:
Must have
Assignee:
Category:
Miscellaneous
Target version:
Start date:
2015-02-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Description
With #61090 retrieving constants from an Enumeration
was simplified by static access.
This however does not work if no Enuemration
instance was created before retrieving the constants. The reasons is that the actual constant values are only loaded upon creation of an instance (instance method loadValues()
).
This needs to be fixed my making loadValues()
static, too.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36794
Updated by Christian Kuhn almost 10 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37027
Updated by Mathias Brodala almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 50 to 100
Applied in changeset 38aad9b69f20b710631ac05cfa960ce4f55ce349.
Actions