Can you try to disable strict_variables? (set it to false instead of the default %kernel.debug%). If the problem is gone after that, can you copy and paste the portion of your template that does not work?

Thanks,
Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 12/9/10 1:08 PM, Dennis Jacobfeuerborn wrote:
Hm, I downloaded the latest Twig master and that doesn't show the
problem so it doesn't seem to be a problem with Twig itself.
Next I replaced the vendor copy of twig in my symfony tree with the
newly download copy and cleared the cache but the
problem still persist there.

Here is my app config in case that helps:

app.config:
charset: UTF-8
error_handler: null
csrf_secret: xxxxxxxxxx
router: { resource: "%kernel.root_dir%/config/routing.yml" }
validation: { enabled: true, annotations: true }
templating: {} #assets_version: SomeVersionScheme
session:
default_locale: en
lifetime: 3600
auto_start: true

## Twig Configuration
twig.config:
debug: %kernel.debug%
strict_variables: %kernel.debug%

# app/config/config.yml
security.config:
providers:
main:
password_encoder: sha1
users:
admin: { password: d033e22ae348aeb5660fc2140aec35850c4da997, roles:
ROLE_USER }

firewalls:
main:
pattern: /.*
anonymous: true
form_login: true
logout: { target: /login }

access_control:
- { path: /login.*, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: /.*, role: ROLE_USER }

## Doctrine Configuration
doctrine.dbal:
dbname: dam
user: dam
password: dam
doctrine.orm:
auto_generate_proxy_classes: true

--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to