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

conditionally WebSerBundle, new sonata integration release #378

Merged
merged 4 commits into from
Aug 2, 2017
Merged

Conversation

ElectricMaxxx
Copy link
Member

No description provided.

@ElectricMaxxx
Copy link
Member Author

Now it works fine and fluffy.

@ElectricMaxxx
Copy link
Member Author

ElectricMaxxx commented Jul 31, 2017

@dbu you know which environment is deployed to this plattform.sh ? I got a completely different behavior then local. All move routes got a 405 METHOD NOT ALLOWED which is strange. I can not see if it comes from CmfResourcesRestBundle ' controller or from Symfony.

Btw: i think we/i need a next improvement on the tree-browser: movements within one collection (reorder only) should not do a move call – reorder only: symfony-cmf/tree-browser-bundle#157 No clue if that is a nice to have or must have for releasing sonata stuff.

Copy link
Member

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@@ -70,6 +70,10 @@ public function registerBundles()
new AppBundle\AppBundle(),
];

// Symfony 3.3 moved server:* commands to another bundle
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the sandbox need not be generic. lets require that web server bundle and simply instantiate it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That won't work i think. For Symfony < 3.3 the functions (server:run, ...) works on demand. From Symfony 3.3 those stuff comes from WebServerBundle, which does not exist befor. So what won't work, or i don't know how, is to require conditional dependencies.
This way it works as Symfony requires it by its own.

Copy link
Member

@dbu dbu Aug 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imho we should simply update

"symfony/symfony": "^3.2",
to say "symfony/symfony": "^3.3". the sandbox is not about supporting as many versions as possible.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh ok, this travis does not iterate over many versions.

@dbu dbu merged commit 501b1d8 into master Aug 2, 2017
@dbu dbu deleted the prepare_2.0 branch August 2, 2017 06:49
@dbu
Copy link
Member

dbu commented Aug 2, 2017

great! thanks a lot!

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

Successfully merging this pull request may close these issues.

None yet

2 participants