Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got Exception in route edit #90

Closed
iJanki opened this issue Jun 16, 2012 · 2 comments
Closed

Got Exception in route edit #90

iJanki opened this issue Jun 16, 2012 · 2 comments

Comments

@iJanki
Copy link

iJanki commented Jun 16, 2012

Going editing a route in the admin:

http://cmf.lo/app_dev.php/admin/bundle/routingextra/route//cms/routes/en/company/team/edit

I get this error:

The option "rootNode" does not exist. Known options are: "attr", "by_reference", "cascade_validation", "choice_list", "choices", "class", "compound", "constraints", "csrf_field_name", "csrf_protection", "csrf_provider", "data", "data_class", "disabled", "empty_data", "error_bubbling", "error_mapping", "extra_fields_message", "intention", "invalid_message", "label", "label_attr", "mapped", "max_length", "model_manager", "parent", "pattern", "post_max_size_message", "preferred_choices", "property", "property_path", "query", "read_only", "required", "root_node", "select_root_node", "sonata_admin", "sonata_field_description", "template", "translation_domain", "trim", "validation_constraint", "validation_groups", "virtual"

I'm using php 5.4 and latest trees.
Any other got this error?

@uwej711
Copy link
Member

uwej711 commented Jun 17, 2012

This has been renamed to root_node to conform to the other attributes' names but shouldn't be part of the sandbox yet. Until this gets fixed the quickest workaround is to rename the attribute in the sandbox's AdminBundle's admin classes to root_node. As this is currently work in progress expect other issues ...

@iJanki iJanki closed this as completed Jun 17, 2012
@iJanki
Copy link
Author

iJanki commented Jun 17, 2012

Thanks, works for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants