Hello,

Post implements serializable, all properties are protected and are accessible 
through their related getter.

I just update twig with the last version from git://github.com/fabpot/Twig and 
still have the same issue. 



On 2 déc. 2010, at 14:48, Fabien Potencier wrote:

> On 12/2/10 2:25 PM, Thomas Rabaix wrote:
>> Hello,
>> 
>> Twig does not support cascade look up :
>> -post.author.name <http://post.author.name/>does not work
>> - post.getAuthor().name works
> 
> I have just tested and it works fine for me. Can you checked that "author" is 
> not a public property of "post"? or that "post" does not implement 
> ArrayAccess?
> 
> Fabien
> 
>> Should I open a ticket ? or the behavior is correct
>> 
>> --
>> If you want to report a vulnerability issue on symfony, please send it
>> to security at symfony-project.com
>> 
>> You received this message because you are subscribed to the Google
>> Groups "symfony developers" group.
>> To post to this group, send email to symfony-devs@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-devs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-devs?hl=en
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to symfony-devs@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-devs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to