Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

I18n Behavior and PropelOnDemandFormatter #822

Closed
Tschebel opened this Issue Jan 31, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

Tschebel commented Jan 31, 2014

The PropelOnDemandFormatter calls the clear() method while iterating over the collection.
The clear() method does not reset the $current_i18n and $culture property of the ActiveRecord instance resulting in all objects having the i18n data of the first result of the collection where a i18n method is called.

The behavior should add to the clear method to reset the two properties too.

Contributor

Tschebel commented Jun 12, 2014

nevermind, confused it with the old behavior from symfony 1

@Tschebel Tschebel closed this Jun 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment