[FLOW3-general] singleton-annotation for repositories necessary with 1.1 beta1
Karsten Dambekalns
karsten at typo3.org
Thu May 24 09:10:23 CEST 2012
On 24.05.12 08:33, Franz Kugelmann wrote:
> my feedback and experience with upgrading to FLOW3 1.1:
> generally quite smooth, you guys did a great job!
Thanks!
Did you run the code migration command?
> The only thing was, that i had to insert a singleton-annotation for my
> repositories due to a check Karsten implemented shortly, which was
> unexpected.
It seems you did not, as the "core:migrate" command outputs a list of
notes and warnings. There it says:
All persistence repositories must be of scope "singleton", this is now
enforced. Add "@FLOW3\Scope("singleton")" if not already present.
Regards,
Karsten
--
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the FLOW3-general
mailing list