-
Notifications
You must be signed in to change notification settings - Fork 76
[WIP] Symfony3 #331
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
[WIP] Symfony3 #331
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ protected function configureFormFields(FormMapper $formMapper) | |
'translation_domain' => 'CmfRoutingBundle', | ||
)) | ||
->add( | ||
'parent', | ||
'parentDocument', | ||
Sf2CompatUtil::getFormTypeName('doctrine_phpcr_odm_tree'), | ||
array('choice_list' => array(), 'select_root_node' => true, 'root_node' => $this->routeRoot) | ||
) | ||
|
@@ -146,7 +146,7 @@ protected function configureFieldsForDefaults($dynamicDefaults) | |
'_controller' => array('_controller', Sf2CompatUtil::getFormTypeName('text'), array('required' => false)), | ||
'_template' => array('_template', Sf2CompatUtil::getFormTypeName('text'), array('required' => false)), | ||
'type' => array('type', Sf2CompatUtil::getFormTypeName('cmf_routing_route_type'), array( | ||
'empty_value' => '', | ||
'placeholder' => '', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This causes What is the plan for Symfony 2.3 support? Do I have to add a fix for that (in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As @wouterj suggested I changed the requirements to |
||
'required' => false, | ||
)), | ||
); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ cmf_routing: | |
persistence: | ||
phpcr: | ||
enabled: true | ||
route_basepath: /test/routing | ||
route_basepaths: /test/routing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you change this value to
3.0.x-dev as 2.8.99
, we should be able to test against Symfony 3 (I used the same successuflly line in another project)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will try this again..thx!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not working: https://travis-ci.org/symfony-cmf/RoutingBundle/jobs/109766483 :(